mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
use isSystemCompatible (IDEA-CR-33396)
This commit is contained in:
@@ -71,7 +71,7 @@ public class WSLUtil {
|
||||
*/
|
||||
@NotNull
|
||||
public static List<WSLDistribution> getAvailableDistributions() {
|
||||
if (!SystemInfo.isWin10OrNewer) return Collections.emptyList();
|
||||
if (!isSystemCompatible()) return Collections.emptyList();
|
||||
|
||||
final Path executableRoot = getExecutableRootPath();
|
||||
if (executableRoot == null) return Collections.emptyList();
|
||||
|
||||
Reference in New Issue
Block a user