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