mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
rework-disable-autolaunch
This commit is contained in:
parent
18acc0b30d
commit
1411a6e74b
2 changed files with 2 additions and 4 deletions
|
|
@ -247,6 +247,7 @@ def prepare_environment():
|
|||
try:
|
||||
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
|
||||
os.remove(os.path.join(script_path, "tmp", "restart"))
|
||||
os.environ.setdefault('SD_WEBUI_DISABLE_AUTOLAUNCH', '1')
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue