diff --git a/Start Stable Diffusion UI.cmd b/Start Stable Diffusion UI.cmd index 2b13a985..e13dae88 100644 --- a/Start Stable Diffusion UI.cmd +++ b/Start Stable Diffusion UI.cmd @@ -23,6 +23,4 @@ call git --version call python --version @rem Download the rest of the installer and UI -call python installer\installer\main.py - -pause \ No newline at end of file +call installer\installer\start.bat diff --git a/installer/installer/start.bat b/installer/installer/start.bat new file mode 100644 index 00000000..d0696acc --- /dev/null +++ b/installer/installer/start.bat @@ -0,0 +1,8 @@ +@echo off +rem Never edit this file. If you really, really have to, beware that a script doesn't like +rem being overwritten while it is running (the auto-updater will do that). +rem The trick is to update this file while another script is running, and vice versa. + +call python %SD_BASE_DIR%\installer\installer\main.py + +pause \ No newline at end of file diff --git a/installer/installer/start.sh b/installer/installer/start.sh new file mode 100644 index 00000000..f1a226a0 --- /dev/null +++ b/installer/installer/start.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Never edit this file. If you really, really have to, beware that a script doesn't like +# being overwritten while it is running (the auto-updater will do that). +# The trick is to update this file while another script is running, and vice versa. + +python $SD_BASE_DIR/installer/installer/main.py + +read -p "Press enter to continue" \ No newline at end of file diff --git a/start.sh b/start.sh index 7d5703f1..008abda4 100755 --- a/start.sh +++ b/start.sh @@ -16,6 +16,4 @@ git --version python --version # Download the rest of the installer and UI -python installer/installer/main.py - -read -p "Press enter to continue" +installer/installer/start.sh