aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-30 18:56:23 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-30 18:56:23 +0300
commit3a876b16a92a23e5536d828c9217fda998e5d9c1 (patch)
tree4c00eac158773fff2ec8be7d32b2dcf54c2c0a1d /webui.sh
parent4794202ebc1f5184e0a15cc11d91ea9a23640f27 (diff)
parent5c0c778a65c8f89a85395fb10e32d3b35ea57196 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/webui.sh b/webui.sh
index 8355c9df..05ca497d 100755
--- a/webui.sh
+++ b/webui.sh
@@ -41,6 +41,11 @@ then
venv_dir="venv"
fi
+if [[ -z "${LAUNCH_SCRIPT}" ]]
+then
+ LAUNCH_SCRIPT="launch.py"
+fi
+
# Disable sentry logging
export ERROR_REPORTING=FALSE
@@ -133,4 +138,4 @@ fi
printf "\n%s\n" "${delimiter}"
printf "Launching launch.py..."
printf "\n%s\n" "${delimiter}"
-"${python_cmd}" launch.py
+"${python_cmd}" "${LAUNCH_SCRIPT}"