fix: barassistant compatibility with v6 (#16665)

This commit is contained in:
Tobias
2026-08-21 21:27:24 +02:00
committed by GitHub
parent ee518802db
commit a0f3f809e2
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"
+3 -3
View File
@@ -25,7 +25,7 @@ msg_ok "Installed Dependencies"
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="pdo-sqlite" setup_php
setup_composer
NODE_VERSION="22" setup_nodejs
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
setup_meilisearch
fetch_and_deploy_gh_release "bar-assistant" "karlomikus/bar-assistant" "tarball" "latest" "/opt/bar-assistant"
fetch_and_deploy_gh_release "vue-salt-rim" "karlomikus/vue-salt-rim" "tarball" "latest" "/opt/vue-salt-rim"
@@ -68,8 +68,8 @@ window.srConfig = {}
window.srConfig.API_URL = "http://${LOCAL_IP}/bar"
window.srConfig.MEILISEARCH_URL = "http://${LOCAL_IP}/search"
EOF
$STD npm install
$STD npm run build
$STD bun install
$STD bun run build
msg_ok "Installed Salt Rim"
msg_info "Creating Service"