forked from extern/easydiffusion
Re-organize the script files, to allow overwriting the main script file with an auto-update without freaking out the shell
This commit is contained in:
parent
889fd98577
commit
7468aa5a4f
@ -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
|
||||
call installer\installer\start.bat
|
||||
|
8
installer/installer/start.bat
Normal file
8
installer/installer/start.bat
Normal file
@ -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
|
9
installer/installer/start.sh
Normal file
9
installer/installer/start.sh
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user