List<OpenShellAction> () { if (WSLDistribution.findWslExe() == null) return List.of(); List<WSLDistribution> distributions = WslDistributionManager.getInstance().getInstalledDistributions(); return ContainerUtil.map(distributions, (d) -> { return new OpenShellAction(() -> d.getMsId(), List.of("wsl.exe", "-d", d.getMsId()), AllIcons.RunConfigurations.Wsl); }); }