Skip to content

Commit

Permalink
add support for Windows10
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Aug 13, 2015
1 parent d4e159a commit fc54467
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/is/tagomor/woothee/os/Windows.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ public static boolean challenge(final String ua, final Map<String,String> result
}

String versionString = win.group(1);
if (versionString.equals("NT 6.3"))
if (versionString.equals("NT 10.0"))
data = DataSet.get("Win10");
else if (versionString.equals("NT 6.3"))
data = DataSet.get("Win8.1");
else if (versionString.equals("NT 6.2"))
data = DataSet.get("Win8");
Expand Down

0 comments on commit fc54467

Please sign in to comment.