55541c387c
Now it only checks OS kernel name/version. User agent is 'MultiMC5/$version'. Kernel info is passed through custom dimensions in analytics.
20 lines
217 B
C++
20 lines
217 B
C++
#pragma once
|
|
#include <QString>
|
|
|
|
namespace Sys
|
|
{
|
|
struct KernelInfo
|
|
{
|
|
QString kernelName;
|
|
QString kernelVersion;
|
|
};
|
|
|
|
KernelInfo getKernelInfo();
|
|
|
|
uint64_t getSystemRam();
|
|
|
|
bool isSystem64bit();
|
|
|
|
bool isCPU64bit();
|
|
}
|