Skip to content

Commit cd68843

Browse files
committed
Add support for Windows 10 for os.js
Resolves rapid7#4248
1 parent 399b3d2 commit cd68843

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/js/detect/os.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ os_detect.getVersion = function(){
338338
case "Windows NT 6.1": os_name = "Windows 7"; break;
339339
case "Windows NT 6.2": os_name = "Windows 8"; break;
340340
case "Windows NT 6.3": os_name = "Windows 8.1"; break;
341+
case "Windows NT 10.0": os_name = "Windows 10"; break;
341342
}
342343
}
343344
if (version.match(/Linux/)) {

0 commit comments

Comments
 (0)