mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-02 05:28:19 +00:00
NOISSUE add some arch probing code
This commit is contained in:
@@ -12,6 +12,18 @@ enum class KernelType {
|
||||
Linux
|
||||
};
|
||||
|
||||
enum class ArchitectureType {
|
||||
Undetermined,
|
||||
I386,
|
||||
AMD64,
|
||||
ARM64
|
||||
};
|
||||
|
||||
struct Architecture {
|
||||
ArchitectureType type;
|
||||
QString raw;
|
||||
};
|
||||
|
||||
struct KernelInfo
|
||||
{
|
||||
QString kernelName;
|
||||
@@ -57,6 +69,8 @@ DistributionInfo getDistributionInfo();
|
||||
|
||||
uint64_t getSystemRam();
|
||||
|
||||
Architecture systemArchitecture();
|
||||
|
||||
bool isSystem64bit();
|
||||
|
||||
bool isCPU64bit();
|
||||
|
||||
Reference in New Issue
Block a user