Skip to content

Commit 1e1e8c3

Browse files
committed
apply PR AUTOMATIC1111#148 again and conditionally apply COMMANDLINE_ARGS
1 parent 7d60076 commit 1e1e8c3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

webui-user.bat

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
set PYTHON=
44
set GIT=
55
set VENV_DIR=
6+
7+
if not defined COMMANDLINE_ARGS (
68
set COMMANDLINE_ARGS=
9+
)
710

811
call webui.bat

webui.bat

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ if not defined PYTHON (set PYTHON=python)
44
if defined GIT (set "GIT_PYTHON_GIT_EXECUTABLE=%GIT%")
55
if not defined VENV_DIR (set "VENV_DIR=%~dp0%venv")
66

7+
if exist webui.settings.bat (
8+
call webui.settings.bat
9+
)
10+
711
set SD_WEBUI_RESTART=tmp/restart
812
set ERROR_REPORTING=FALSE
913

0 commit comments

Comments
 (0)