From fcfe2e9ffd9b9ee8af63926a002602503f1ad71a Mon Sep 17 00:00:00 2001 From: Andrew Savchyn Date: Fri, 30 Sep 2022 10:51:05 +0200 Subject: Configurable launch script --- webui.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'webui.sh') 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}" -- cgit v1.2.1