File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
3
+ if not exist webui.settings.bat (
4
+ if exist webui.settings.bat.in (
5
+ copy webui.settings.bat.in webui.settings.bat
6
+ )
7
+ )
8
+
9
+ if exist webui.settings.bat (
10
+ if defined PTHTON (set _PYTHON=%PYTHON% )
11
+ if defined GIT (set _GIT=%GIT% )
12
+ if defined VENV_DIR (set _VENV_DIR=%VENV_DIR% )
13
+ if defined COMMANDLINE_ARGS (set _COMMANDLINE_ARGS=%COMMANDLINE_ARGS% )
14
+
15
+ call webui.settings.bat
16
+
17
+ if not defined PYTHON (if defined _PYTHON (set PYTHON=%_PYTHON% ))
18
+ if not defined GIT (if defined _GIT (set GIT=%_GIT% ))
19
+ if not defined VENV_DIR (if defined _VENV_DIR (set VENV_DIR=%_VENV_DIR% ))
20
+ if not defined COMMANDLINE_ARGS (if defined _COMMANDLINE_ARGS (set COMMANDLINE_ARGS=%_COMMANDLINE_ARGS% ))
21
+ )
22
+
3
23
if not defined PYTHON (set PYTHON=python)
4
24
if defined GIT (set " GIT_PYTHON_GIT_EXECUTABLE=%GIT% " )
5
25
if not defined VENV_DIR (set " VENV_DIR=%~dp0 %venv" )
Original file line number Diff line number Diff line change
1
+ @REM
2
+ @REM change the variables below to your need.
3
+ @REM any variables re-defined here will override settings in the webui-user.bat
4
+ set PYTHON=
5
+ set GIT=
6
+ set VENV_DIR=
7
+ set COMMANDLINE_ARGS=
You can’t perform that action at this time.
0 commit comments