Skip to content

Commit

Permalink
Merge pull request #272 from Haidra-Org/windows_mamba_root_prefix
Browse files Browse the repository at this point in the history
fix: attempts to address new issues with install
  • Loading branch information
tazlin authored Jul 1, 2023
2 parents 4c5d1ee + aeed25b commit 9682d0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ cd /d "%~dp0"
SET CONDA_SHLVL=
SET PYTHONNOUSERSITE=1
SET PYTHONPATH=
SET MAMBA_ROOT_PREFIX=%~dp0conda

echo %MAMBA_ROOT_PREFIX%

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


Reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v "LongPathsEnabled" /t REG_DWORD /d "1" /f 2>nul
IF EXIST CONDA GOTO APP
Expand All @@ -13,6 +20,7 @@ IF EXIST CONDA GOTO APP
call update-runtime

:APP
call conda\condabin\activate.bat windows
call %MAMBA_ROOT_PREFIX%\condabin\micromamba.bat activate windows

%*
IF [%1] == [] TITLE Runtime Command Prompt && cmd /k
Binary file modified umamba.exe
Binary file not shown.

0 comments on commit 9682d0a

Please sign in to comment.