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

Commit

Permalink
Removed checking for existence of deactivate.bat as part of install…
Browse files Browse the repository at this point in the history
…ation validation on Windows. The `deactivate.bat` script is no longer part of conda environments.
  • Loading branch information
forman committed Mar 7, 2019
1 parent 63eaf2c commit 0f8a27e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/appenv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export const CATE_WEBAPI_EXECUTABLE = (() => {

export const CONDA_EXECUTABLES = (() => {
if (process.platform === 'win32') {
return ['python.exe', path.join('Scripts', 'activate.bat'), path.join('Scripts', 'deactivate.bat')];
return ['python.exe', path.join('Scripts', 'activate.bat')];
} else {
// On Darwin/Linux the bin/activate and bin/deactivate scripts may have no execute permission
return [path.join('bin', 'python') /*, path.join('bin', 'activate'), path.join('bin', 'deactivate')*/];
return [path.join('bin', 'python') /*, path.join('bin', 'activate')*/];
}
})();

Expand Down

0 comments on commit 0f8a27e

Please sign in to comment.