Added version check for windows 10+

This commit is contained in:
nathan 2017-07-11 14:14:43 +02:00
parent 97aee006a1
commit 247827ec75

View File

@ -171,6 +171,14 @@ class OSUtil {
boolean isWindows10() {
return getVersion()[0] == 10;
}
/**
* @return is windows 10 or greater
*/
public static
boolean isWindows10_plus() {
return getVersion()[0] >= 10;
}
}
public static