aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
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}"