mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 16:23:28 +01:00
Developer console, to enter the activated conda environment easily for debugging and fixing the environnment
This commit is contained in:
parent
4a85296e23
commit
9321dfdd89
14
scripts/Open Developer Console.cmd
Normal file
14
scripts/Open Developer Console.cmd
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
echo "Opening Stable Diffusion UI - Developer Console.." & echo.
|
||||||
|
|
||||||
|
@call installer\Scripts\activate.bat
|
||||||
|
|
||||||
|
@call conda-unpack
|
||||||
|
|
||||||
|
@call conda --version
|
||||||
|
@call git --version
|
||||||
|
|
||||||
|
@call conda activate .\stable-diffusion\env
|
||||||
|
|
||||||
|
cmd /k
|
@ -55,6 +55,7 @@ if "%update_branch%"=="" (
|
|||||||
@xcopy sd-ui-files\ui ui /s /i /Y
|
@xcopy sd-ui-files\ui ui /s /i /Y
|
||||||
@copy sd-ui-files\scripts\on_sd_start.bat scripts\ /Y
|
@copy sd-ui-files\scripts\on_sd_start.bat scripts\ /Y
|
||||||
@copy "sd-ui-files\scripts\Start Stable Diffusion UI.cmd" . /Y
|
@copy "sd-ui-files\scripts\Start Stable Diffusion UI.cmd" . /Y
|
||||||
|
@copy "sd-ui-files\scripts\Open Developer Console.cmd" . /Y
|
||||||
|
|
||||||
@call scripts\on_sd_start.bat
|
@call scripts\on_sd_start.bat
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ rm -rf ui
|
|||||||
cp -Rf sd-ui-files/ui .
|
cp -Rf sd-ui-files/ui .
|
||||||
cp sd-ui-files/scripts/on_sd_start.sh scripts/
|
cp sd-ui-files/scripts/on_sd_start.sh scripts/
|
||||||
cp sd-ui-files/scripts/start.sh .
|
cp sd-ui-files/scripts/start.sh .
|
||||||
|
cp sd-ui-files/scripts/open_dev_console.sh .
|
||||||
|
|
||||||
./scripts/on_sd_start.sh
|
./scripts/on_sd_start.sh
|
||||||
|
|
||||||
|
17
scripts/open_dev_console.sh
Normal file
17
scripts/open_dev_console.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$0" == "bash" ]; then
|
||||||
|
echo "Opening Stable Diffusion UI - Developer Console.."
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
source installer/bin/activate
|
||||||
|
|
||||||
|
conda-unpack
|
||||||
|
|
||||||
|
conda --version
|
||||||
|
git --version
|
||||||
|
|
||||||
|
conda activate ./stable-diffusion/env
|
||||||
|
else
|
||||||
|
bash --init-file open_dev_console.sh
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user