mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Updated to support Windows 8.1
This commit is contained in:
parent
f6461a1b30
commit
cb01bb2c20
@ -465,7 +465,15 @@ LPCWSTR GetPlatformName()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (osvi.dwMinorVersion == 2 && osvi.wProductType == VER_NT_WORKSTATION)
|
||||
if (osvi.dwMinorVersion == 3 && osvi.wProductType == VER_NT_WORKSTATION)
|
||||
{
|
||||
return L"Windows 8.1";
|
||||
}
|
||||
else if (osvi.dwMinorVersion == 3 && osvi.wProductType != VER_NT_WORKSTATION)
|
||||
{
|
||||
return L"Windows Server 2012 R2";
|
||||
}
|
||||
else if (osvi.dwMinorVersion == 2 && osvi.wProductType == VER_NT_WORKSTATION)
|
||||
{
|
||||
return L"Windows 8";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user