mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
find conda on windows
This commit is contained in:
@@ -129,7 +129,7 @@ public class PyCondaPackageService implements PersistentStateComponent<PyCondaPa
|
||||
@Nullable
|
||||
private static String findExecutable(String condaName, VirtualFile condaFolder) {
|
||||
if (condaFolder != null) {
|
||||
final VirtualFile bin = condaFolder.findChild("bin");
|
||||
final VirtualFile bin = condaFolder.findChild(SystemInfo.isWindows ? "Scripts" : "bin");
|
||||
if (bin != null) {
|
||||
final VirtualFile[] children = bin.getChildren();
|
||||
if (children.length == 0) return null;
|
||||
|
||||
Reference in New Issue
Block a user