Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 0f8a27e

Browse files
committed
Removed checking for existence of deactivate.bat as part of installation validation on Windows. The deactivate.bat script is no longer part of conda environments.
1 parent 63eaf2c commit 0f8a27e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/appenv.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ export const CATE_WEBAPI_EXECUTABLE = (() => {
4646

4747
export const CONDA_EXECUTABLES = (() => {
4848
if (process.platform === 'win32') {
49-
return ['python.exe', path.join('Scripts', 'activate.bat'), path.join('Scripts', 'deactivate.bat')];
49+
return ['python.exe', path.join('Scripts', 'activate.bat')];
5050
} else {
5151
// On Darwin/Linux the bin/activate and bin/deactivate scripts may have no execute permission
52-
return [path.join('bin', 'python') /*, path.join('bin', 'activate'), path.join('bin', 'deactivate')*/];
52+
return [path.join('bin', 'python') /*, path.join('bin', 'activate')*/];
5353
}
5454
})();
5555

0 commit comments

Comments
 (0)