SoulSync: setup Node v22 and build WebUI (#14639)

This commit is contained in:
CanbiZ (MickLesk)
2026-05-22 09:07:28 +02:00
committed by GitHub
parent 8aca89b8dc
commit 82abeac9fb
2 changed files with 15 additions and 0 deletions
+8
View File
@@ -29,6 +29,8 @@ function update_script() {
exit
fi
NODE_VERSION="22" setup_nodejs
if check_for_gh_release "soulsync" "Nezreka/SoulSync"; then
msg_info "Stopping Service"
systemctl stop soulsync
@@ -47,6 +49,12 @@ function update_script() {
$STD uv pip install -r requirements.txt
msg_ok "Updated Python Dependencies"
msg_info "Building WebUI"
cd /opt/soulsync/webui
$STD npm ci
$STD npm run build
msg_ok "Built WebUI"
mv /opt/soulsync-config.bak /opt/soulsync/config
mv /opt/soulsync-data.bak /opt/soulsync/data