Skip to content

Commit

Permalink
Merge pull request #282 from Haidra-Org/file-path-spaces
Browse files Browse the repository at this point in the history
fix: allow spaces in file paths
  • Loading branch information
tazlin authored Jul 31, 2023
2 parents 7e035f7 + 7c69afb commit 26ad7b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ IF EXIST CONDA GOTO APP
call update-runtime

:APP
umamba.exe shell hook -s cmd.exe -p %MAMBA_ROOT_PREFIX% -v
call %MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat
call %MAMBA_ROOT_PREFIX%\condabin\micromamba.bat activate windows
umamba.exe shell hook -s cmd.exe -p "%MAMBA_ROOT_PREFIX%" -v
call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat"
call "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" activate windows
%*
call micromamba deactivate
4 changes: 2 additions & 2 deletions update-runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ umamba create --no-shortcuts -r conda -n windows -f %CONDA_ENVIRONMENT_FILE% -y
REM Check if hordelib argument is defined

umamba.exe shell hook -s cmd.exe -p %MAMBA_ROOT_PREFIX% -v
call %MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat
call %MAMBA_ROOT_PREFIX%\condabin\micromamba.bat activate windows
call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat"
call "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" activate windows

if defined hordelib (
python -s -m pip uninstall -y hordelib horde_model_reference
Expand Down

0 comments on commit 26ad7b6

Please sign in to comment.