Add files via upload

Add script to open cmd within installation environment for easier modification.
This commit is contained in:
jllllll 2023-03-24 18:09:44 -05:00 committed by GitHub
parent eec773b1f4
commit f0c82f06c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
micromamba-cmd.bat Normal file
View File

@ -0,0 +1,15 @@
@echo off
set MAMBA_ROOT_PREFIX=%cd%\installer_files\mamba
set INSTALL_ENV_DIR=%cd%\installer_files\env
if not exist "%MAMBA_ROOT_PREFIX%\Scripts\activate.bat" (
call "%MAMBA_ROOT_PREFIX%\micromamba.exe" shell hook >nul 2>&1
)
call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat" || ( echo Micromamba hook not found. && goto end )
call micromamba activate "%INSTALL_ENV_DIR%" || goto end
cmd /k "%*"
:end
pause