fix yarn install

This commit is contained in:
Tobias Meier 2025-05-05 10:55:23 +02:00
parent f76d28bdd9
commit f6a4c9006e
2 changed files with 8 additions and 6 deletions

View File

@ -41,10 +41,11 @@ function update_script() {
rm -rf /opt/${APP} rm -rf /opt/${APP}
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
cd /opt/"${APPLICATION}"/backend/src cd /opt/"${APPLICATION}"/backend/src
pip install -r requirements.txt $STD pip install -r requirements.txt
cd ../../frontend/src cd ../../frontend/src
npm install $STD npm install
yarn build $STD npm install -g yarn
$STD yarn build
msg_ok "Updated $APP to v${RELEASE}" msg_ok "Updated $APP to v${RELEASE}"
msg_info "Starting $APP" msg_info "Starting $APP"

View File

@ -30,10 +30,11 @@ msg_ok "Setup NodeJS"
msg_info "Setup ${APPLICATION}" msg_info "Setup ${APPLICATION}"
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
cd /opt/"${APPLICATION}"/backend/src cd /opt/"${APPLICATION}"/backend/src
pip install -r requirements.txt $STD pip install -r requirements.txt
cd ../../frontend/src cd ../../frontend/src
npm install $STD npm install
yarn build $STD npm install -g yarn
$STD yarn build
msg_ok "Setup ${APPLICATION}" msg_ok "Setup ${APPLICATION}"
# Creating Service (if needed) # Creating Service (if needed)