forked from extern/easydiffusion
Rename dev console scripts
This commit is contained in:
parent
1f7c7909c2
commit
a6913dfe29
@ -1,5 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
echo "Opening Stable Diffusion UI - Developer Console.." & echo.
|
||||||
|
|
||||||
set SD_BASE_DIR=%cd%
|
set SD_BASE_DIR=%cd%
|
||||||
set MAMBA_ROOT_PREFIX=%SD_BASE_DIR%\env\mamba
|
set MAMBA_ROOT_PREFIX=%SD_BASE_DIR%\env\mamba
|
||||||
set INSTALL_ENV_DIR=%SD_BASE_DIR%\env\installer_env
|
set INSTALL_ENV_DIR=%SD_BASE_DIR%\env\installer_env
|
5
open_dev_console.sh → developer_console.sh
Executable file → Normal file
5
open_dev_console.sh → developer_console.sh
Executable file → Normal file
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$0" == "bash" ]; then
|
if [ "$0" == "bash" ]; then
|
||||||
|
echo "Opening Stable Diffusion UI - Developer Console.."
|
||||||
|
echo ""
|
||||||
|
|
||||||
export SD_BASE_DIR=`pwd`
|
export SD_BASE_DIR=`pwd`
|
||||||
export MAMBA_ROOT_PREFIX="$SD_BASE_DIR/env/mamba"
|
export MAMBA_ROOT_PREFIX="$SD_BASE_DIR/env/mamba"
|
||||||
export INSTALL_ENV_DIR="$SD_BASE_DIR/env/installer_env"
|
export INSTALL_ENV_DIR="$SD_BASE_DIR/env/installer_env"
|
||||||
@ -9,5 +12,5 @@ if [ "$0" == "bash" ]; then
|
|||||||
|
|
||||||
micromamba activate "$INSTALL_ENV_DIR"
|
micromamba activate "$INSTALL_ENV_DIR"
|
||||||
else
|
else
|
||||||
bash --init-file open_dev_console.sh
|
bash --init-file developer_console.sh
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user