Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow spaces in file paths #282

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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