[*] Recrinkle enterprise flag on windows
This commit is contained in:
parent
672915cd55
commit
dce47ee5cf
@ -70,7 +70,7 @@ namespace Aurora::SWInfo
|
||||
|
||||
#if defined(AURORA_PLATFORM_WIN32)
|
||||
osInfo.bIsServer = IsWindowsServer();
|
||||
osInfo.bIsEnterprise = IsWindowsEnterpriseBranch();
|
||||
osInfo.bIsEnterprise = osInfo.bIsServer;//IsWindowsEnterpriseBranch();
|
||||
#else
|
||||
osInfo.bIsServer = false;
|
||||
osInfo.bIsEnterprise = false;
|
||||
@ -119,6 +119,8 @@ namespace Aurora::SWInfo
|
||||
}
|
||||
#endif
|
||||
|
||||
osInfo.bIsEnterprise |= AuStringContains(gUserlandBrand, "nterprise");
|
||||
|
||||
if (gKernelString.empty())
|
||||
{
|
||||
gKernelString = fmt::format("Microsoft NT {}.{}.{}", osInfo.uKernelMajor, osInfo.uKernelMinor, osInfo.uKernelPatch);
|
||||
|
Loading…
Reference in New Issue
Block a user