зеркало из https://github.com/mono/ikvm-fork.git
Added "Windows 7" detection for os.name system property.
This commit is contained in:
Родитель
f00d50ed0f
Коммит
f3290fa061
|
@ -241,12 +241,17 @@ public class VMSystemProperties
|
|||
}
|
||||
break;
|
||||
case 6:
|
||||
// since there appears to be no managed way to differentiate between Client/Server, we report client names
|
||||
switch(minor)
|
||||
{
|
||||
case 0:
|
||||
osver = "6.0";
|
||||
osname = "Windows Vista";
|
||||
break;
|
||||
case 1:
|
||||
osver = "6.1";
|
||||
osname = "Windows 7";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче