mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Cherry-pick SysInfo from #680
Signed-off-by: timoreo <contact@timoreo.fr>
This commit is contained in:
13
launcher/SysInfo.h
Normal file
13
launcher/SysInfo.h
Normal file
@ -0,0 +1,13 @@
|
||||
#include <QString>
|
||||
#include "settings/SettingsObject.h"
|
||||
#ifdef Q_OS_MACOS
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
namespace SysInfo {
|
||||
QString currentSystem();
|
||||
QString currentArch(const SettingsObjectPtr& settingsObj);
|
||||
QString runCheckerForArch(const SettingsObjectPtr& settingsObj);
|
||||
QString useQTForArch();
|
||||
}
|
||||
|
Reference in New Issue
Block a user