Skip to content

Commit b5174a8

Browse files
committed
Merge pull request #6 from tonycoz/win8.1
add GetOSName support for Windows 8.1
2 parents 44d71ec + 9403da0 commit b5174a8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Win32.pm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,15 @@ sub _GetOSName {
468468
$os = "2012";
469469
}
470470
}
471+
elsif ($minor == 3) {
472+
if ($producttype == VER_NT_WORKSTATION) {
473+
$os = "8.1";
474+
}
475+
else {
476+
$os = "2012";
477+
$desc = "R2";
478+
}
479+
}
471480

472481
if ($productinfo == PRODUCT_ULTIMATE) {
473482
$desc .= " Ultimate";

0 commit comments

Comments
 (0)