diff options
author | Andrew Savchyn <dev@scorpil.com> | 2022-09-30 10:51:05 +0200 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-30 12:59:47 +0300 |
commit | fcfe2e9ffd9b9ee8af63926a002602503f1ad71a (patch) | |
tree | 0b5b7bd01d1b631b647eb4b260619d93f433b025 /webui.sh | |
parent | b197f398ec6fdd4b62f41a70a8ce11d972738e7f (diff) |
Configurable launch script
Diffstat (limited to 'webui.sh')
-rwxr-xr-x | webui.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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}" |