From c55fca472de3360e4f0e398360d15ca3a6f89401 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 9 May 2025 20:04:40 +0200 Subject: [PATCH] Update streamlink-webui.sh --- ct/streamlink-webui.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index b42299a..bb3f9dc 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -24,7 +24,7 @@ function update_script() { check_container_storage check_container_resources - if [[ ! -f /opt/streamlink-webui ]]; then + if [[ ! -d /opt/streamlink-webui ]]; then msg_error "No ${APP} Installation Found!" exit fi @@ -43,13 +43,13 @@ function update_script() { fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" msg_info "Updating $APP to v${RELEASE}" - $STD uv venv /opt/"${APPLICATION}"/backend/src/.venv - source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate - $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv - cd /opt/"${APPLICATION}"/frontend/src + $STD uv venv /opt/"${APP}"/backend/src/.venv + source /opt/"${APP}"/backend/src/.venv/bin/activate + $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APP}"/backend/src/.venv + cd /opt/"${APP}"/frontend/src $STD yarn install $STD yarn build - chmod +x /opt/"${APPLICATION}"/start.sh + chmod +x /opt/"${APP}"/start.sh msg_ok "Updated $APP to v${RELEASE}" msg_info "Starting $APP"