Configurable launch script

This commit is contained in:
Andrew Savchyn
2022-09-30 10:51:05 +02:00
committed by AUTOMATIC1111
parent b197f398ec
commit fcfe2e9ffd
2 changed files with 9 additions and 1 deletions

View File

@@ -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}"