From 25a2bb3b7472f3694ced12e0c1ca87eed36ff107 Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Mon, 5 May 2025 14:08:07 +0200 Subject: [PATCH] fix update and location --- ct/streamlink-webui.sh | 5 ++--- install/streamlink-webui-install.sh | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index a65edb5..8085e5b 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -45,9 +45,8 @@ function update_script() { fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" $STD uv venv /opt/"${APPLICATION}"/backend/src/.venv source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate - $STD uv sync --all-extras - $STD pip install -r requirements.txt - cd ../../frontend/src + $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv + cd /opt/"${APPLICATION}"/frontend/src $STD yarn build msg_ok "Updated $APP to v${RELEASE}" diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index cbc848d..3fb751d 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -24,8 +24,7 @@ fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" $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 -#$STD pip install -r requirements.txt -cd ../../frontend/src +cd /opt/"${APPLICATION}"/frontend/src $STD yarn build msg_ok "Setup ${APPLICATION}"