fix yarn install

This commit is contained in:
CrazyWolf13 2025-05-05 20:30:10 +02:00
parent 93acaef5b5
commit 126fa5b5c2
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ function update_script() {
source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate 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 uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv
cd /opt/"${APPLICATION}"/frontend/src cd /opt/"${APPLICATION}"/frontend/src
$STD yarn install
$STD yarn build $STD yarn build
msg_ok "Updated $APP to v${RELEASE}" msg_ok "Updated $APP to v${RELEASE}"

View File

@ -25,6 +25,7 @@ $STD uv venv /opt/"${APPLICATION}"/backend/src/.venv
source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate 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 uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv
cd /opt/"${APPLICATION}"/frontend/src cd /opt/"${APPLICATION}"/frontend/src
$STD yarn install
$STD yarn build $STD yarn build
msg_ok "Setup ${APPLICATION}" msg_ok "Setup ${APPLICATION}"