Skip to content

Commit b259ccb

Browse files
committed
Merge pull request #8 from jmaslak/master
Provide minimal Windows 10 support
2 parents 12a4e01 + 0f3b919 commit b259ccb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Win32.pm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,12 @@ sub _GetOSName {
540540
elsif ($arch == PROCESSOR_ARCHITECTURE_AMD64) {
541541
$desc .= " (64-bit)";
542542
}
543-
}
543+
}
544+
elsif ($major == 10) {
545+
if ($minor == 0) {
546+
$os = '10';
547+
}
548+
}
544549
}
545550

546551
unless (defined $os) {

0 commit comments

Comments
 (0)