From 1a978be2710b65693c7abb01d98283fed06362ff Mon Sep 17 00:00:00 2001 From: derVedro Date: Thu, 27 Apr 2023 23:58:33 +0200 Subject: [PATCH] Update webui.sh webui can launch from any directory --- webui.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webui.sh b/webui.sh index 75725a712..ff9c58b4d 100755 --- a/webui.sh +++ b/webui.sh @@ -4,6 +4,9 @@ # change the variables in webui-user.sh instead # ################################################# +# change to local directory +cd -- "$(dirname -- "$0")" + can_run_as_root=0 export ERROR_REPORTING=FALSE export PIP_IGNORE_INSTALLED=0