Files
aurora/lib/system_info_mac.mm
Pieter-Jan Briers 974d11dfe7 Log basic system information on startup (#178)
* Log various system information on startup

CPU model, memory, that kinda stuff.

* Use WRL ComPtr<T>

* Use DXGI to list GPUs on Windows

* Compile fix oops

* macOS system info

* Linux impl

* Add comment linking to the microsoft example I used

* How did this compile before?
2026-05-12 14:09:44 -06:00

10 lines
299 B
Plaintext

#include "system_info.hpp"
#include <Foundation/NSProcessInfo.h>
#include <Foundation/NSString.h>
namespace aurora::system_info {
std::string getSystemVersionString() {
NSString * str = [[NSProcessInfo processInfo] operatingSystemVersionString];
return [str UTF8String];
}
}