diff --git a/Developer Console.cmd b/Developer Console.cmd index 2543ff46..578b9b25 100644 --- a/Developer Console.cmd +++ b/Developer Console.cmd @@ -5,9 +5,11 @@ echo "Opening Stable Diffusion UI - Developer Console.." & echo. set SD_BASE_DIR=%cd% set MAMBA_ROOT_PREFIX=%SD_BASE_DIR%\env\mamba set INSTALL_ENV_DIR=%SD_BASE_DIR%\env\installer_env +set PROJECT_ENV_DIR=%SD_BASE_DIR%\env\project_env call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat" call micromamba activate "%INSTALL_ENV_DIR%" +call micromamba activate "%PROJECT_ENV_DIR%" cmd /k \ No newline at end of file diff --git a/developer_console.sh b/developer_console.sh index c1829f2b..113e9a21 100644 --- a/developer_console.sh +++ b/developer_console.sh @@ -7,10 +7,12 @@ if [ "$0" == "bash" ]; then export SD_BASE_DIR=`pwd` export MAMBA_ROOT_PREFIX="$SD_BASE_DIR/env/mamba" export INSTALL_ENV_DIR="$SD_BASE_DIR/env/installer_env" + export PROJECT_ENV_DIR="$SD_BASE_DIR/env/project_env" eval "$($MAMBA_ROOT_PREFIX/micromamba shell hook -s posix)" micromamba activate "$INSTALL_ENV_DIR" + micromamba activate "$PROJECT_ENV_DIR" else bash --init-file developer_console.sh fi \ No newline at end of file