Added version check for windows 10+
This commit is contained in:
parent
97aee006a1
commit
247827ec75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user