mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add WSLUtil.isSystemCompatible to fast check if WSL available
This commit is contained in:
@@ -125,4 +125,8 @@ public class WSLUtil {
|
||||
processHandler.addProcessListener(INPUT_CLOSE_LISTENER);
|
||||
return processHandler;
|
||||
}
|
||||
|
||||
public static boolean isSystemCompatible() {
|
||||
return SystemInfo.isWin10OrNewer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user