From f6a4c9006e55b0a9a623022d29defe02a5b486c6 Mon Sep 17 00:00:00 2001 From: Tobias Meier Date: Mon, 5 May 2025 10:55:23 +0200 Subject: [PATCH] fix yarn install --- ct/streamlink-webui.sh | 7 ++++--- install/streamlink-webui-install.sh | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index 092a987..947eaef 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -41,10 +41,11 @@ function update_script() { rm -rf /opt/${APP} fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" cd /opt/"${APPLICATION}"/backend/src - pip install -r requirements.txt + $STD pip install -r requirements.txt cd ../../frontend/src - npm install - yarn build + $STD npm install + $STD npm install -g yarn + $STD yarn build msg_ok "Updated $APP to v${RELEASE}" msg_info "Starting $APP" diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index 6e89398..e597cc3 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -30,10 +30,11 @@ msg_ok "Setup NodeJS" msg_info "Setup ${APPLICATION}" fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" cd /opt/"${APPLICATION}"/backend/src -pip install -r requirements.txt +$STD pip install -r requirements.txt cd ../../frontend/src -npm install -yarn build +$STD npm install +$STD npm install -g yarn +$STD yarn build msg_ok "Setup ${APPLICATION}" # Creating Service (if needed)