fix: barassistant compatibility with v6

This commit is contained in:
CrazyWolf13
2026-08-21 13:35:07 +02:00
parent e925e29966
commit 04422e4115
2 changed files with 8 additions and 6 deletions
+5 -3
View File
@@ -71,13 +71,15 @@ function update_script() {
systemctl stop nginx
msg_ok "Stopped nginx"
fetch_and_deploy_gh_release "vue-salt-rim" "karlomikus/vue-salt-rim" "tarball" "latest" "/opt/vue-salt-rim"
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "vue-salt-rim" "karlomikus/vue-salt-rim" "tarball" "latest" "/opt/vue-salt-rim"
restore_backup
msg_info "Configuring Vue Salt Rim"
cd /opt/vue-salt-rim
$STD npm install
$STD npm run build
$STD bun install
$STD bun run build
msg_ok "Configured Vue Salt Rim"
msg_info "Starting nginx"