Add support for Windows 10 for os.js

Resolves #4248
bug/bundler_fix
wchen-r7 2015-07-01 15:02:22 -05:00
parent 399b3d2810
commit cd688437ac
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ os_detect.getVersion = function(){
case "Windows NT 6.1": os_name = "Windows 7"; break;
case "Windows NT 6.2": os_name = "Windows 8"; break;
case "Windows NT 6.3": os_name = "Windows 8.1"; break;
case "Windows NT 10.0": os_name = "Windows 10"; break;
}
}
if (version.match(/Linux/)) {