mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-25 12:22:49 +02:00
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
|
call python --version
|
||||||
|
|
||||||
@rem Download the rest of the installer and UI
|
@rem Download the rest of the installer and UI
|
||||||
call python installer\installer\main.py
|
call installer\installer\start.bat
|
||||||
|
|
||||||
pause
|
|
||||||
|
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…
x
Reference in New Issue
Block a user