Some updates to windows version detection.
This commit is contained in:
@@ -64,7 +64,7 @@ public class MutableSystemInfo implements SystemInfo {
|
|||||||
case 1:
|
case 1:
|
||||||
return "Windows XP";
|
return "Windows XP";
|
||||||
case 2:
|
case 2:
|
||||||
return "Windows Server 2003";
|
return workstation ? "Windows XP Professional" : "Windows Server 2003";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
@@ -75,6 +75,8 @@ public class MutableSystemInfo implements SystemInfo {
|
|||||||
return workstation ? "Windows 7" : "Windows Server 2008 R2";
|
return workstation ? "Windows 7" : "Windows Server 2008 R2";
|
||||||
case 2:
|
case 2:
|
||||||
return workstation ? "Windows 8" : "Windows Server 2012";
|
return workstation ? "Windows 8" : "Windows Server 2012";
|
||||||
|
case 3:
|
||||||
|
return workstation ? "Windows 8.1" : "Windows Server 2012 R2";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user