File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -31,25 +31,27 @@ function update_script() {
3131
3232 RELEASE=$( curl -fsSL https://api.github.com/repos/CrazyWolf13/streamlink-webui/releases/latest | grep " tag_name" | awk ' {print substr($2, 2, length($2)-3) }' )
3333 if [[ " ${RELEASE} " != " $( cat /opt/${APP} _version.txt) " ]] || [[ ! -f /opt/${APP} _version.txt ]]; then
34+ msg_info " Starting Update"
35+
3436 msg_info " Stopping $APP "
3537 systemctl stop ${APP}
3638 msg_ok " Stopped $APP "
3739
3840 rm -rf /opt/${APP}
3941 NODE_VERSION=" 22"
40- NODE_MODULE=" npm@latest ,yarn@latest "
42+ NODE_MODULE=" npm,yarn"
4143 install_node_and_modules
4244 setup_uv
4345 fetch_and_deploy_gh_release " CrazyWolf13/streamlink-webui"
4446
4547 msg_info " Updating $APP to v${RELEASE} "
46- $STD uv venv /opt/" ${APPLICATION } " /backend/src/.venv
47- source /opt/" ${APPLICATION } " /backend/src/.venv/bin/activate
48- $STD uv pip install -r /opt/streamlink-webui /backend/src/requirements.txt --python=/opt/" ${APPLICATION } " /backend/src/.venv
49- cd /opt/" ${APPLICATION } " /frontend/src
48+ $STD uv venv /opt/" ${APP } " /backend/src/.venv
49+ source /opt/" ${APP } " /backend/src/.venv/bin/activate
50+ $STD uv pip install -r /opt/" ${APP} " /backend/src/requirements.txt --python=/opt/" ${APP } " /backend/src/.venv
51+ cd /opt/" ${APP } " /frontend/src
5052 $STD yarn install
5153 $STD yarn build
52- chmod +x /opt/" ${APPLICATION } " /start.sh
54+ chmod +x /opt/" ${APP } " /start.sh
5355 msg_ok " Updated $APP to v${RELEASE} "
5456
5557 msg_info " Starting $APP "
You can’t perform that action at this time.
0 commit comments