Merge pull request #469 from JeLuF/patch-1

set USERPROFILE to local profile (fixes #468)
This commit is contained in:
cmdr2
2022-11-14 10:07:17 +05:30
committed by GitHub

View File

@ -15,6 +15,9 @@ set umamba_exists=F
set OLD_APPDATA=%APPDATA% set OLD_APPDATA=%APPDATA%
set APPDATA=%cd%\installer_files\appdata set APPDATA=%cd%\installer_files\appdata
@mkdir %cd%\profile
set USERPROFILE=%cd%\profile
@rem figure out whether git and conda needs to be installed @rem figure out whether git and conda needs to be installed
if exist "%INSTALL_ENV_DIR%" set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%INSTALL_ENV_DIR%\Library\usr\bin;%PATH% if exist "%INSTALL_ENV_DIR%" set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%INSTALL_ENV_DIR%\Library\usr\bin;%PATH%