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..6e27a4a6 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}"