Use call to start the conda script; activate the installer env first even in the developer console

This commit is contained in:
cmdr2
2022-10-25 20:26:46 +05:30
parent 0c2d227da1
commit f732fa9736
3 changed files with 10 additions and 1 deletions

View File

@ -8,6 +8,9 @@ set PATH=C:\Windows\System32;%PATH%
if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%cd%\installer\Library\usr\bin;%PATH%
if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH%
@rem activate the installer env
call conda activate
@rem Test the environment
echo "Environment Info:"
call where git