add WSLUtil.isSystemCompatible to fast check if WSL available

This commit is contained in:
Sergey Simonchik
2018-06-08 12:59:21 +03:00
parent 3c5d1085a6
commit b62e8fb0cf
@@ -125,4 +125,8 @@ public class WSLUtil {
processHandler.addProcessListener(INPUT_CLOSE_LISTENER);
return processHandler;
}
public static boolean isSystemCompatible() {
return SystemInfo.isWin10OrNewer;
}
}