Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk 7328c0c21c Actual Budget: allow native module install scripts under npm 11 (Node 24) 2026-08-04 22:58:20 +02:00
4 changed files with 4 additions and 5 deletions
+2
View File
@@ -39,7 +39,9 @@ function update_script() {
msg_ok "Stopped Service"
msg_info "Updating Actual Budget to ${RELEASE}"
$STD npm config set allow-scripts=bcrypt,better-sqlite3,argon2 --location=global
$STD npm update -g @actual-app/sync-server
$STD npm rebuild -g
echo "${RELEASE}" >~/.actualbudget
msg_ok "Updated Actual Budget to ${RELEASE}"
+1 -4
View File
@@ -46,11 +46,8 @@ function update_script() {
msg_info "Updating Heimdall-Dashboard"
cd /opt/Heimdall
sed -i 's/^APP_ENV=.*/APP_ENV=production/' .env
rm -f bootstrap/cache/*.php
export COMPOSER_ALLOW_SUPERUSER=1
$STD composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
$STD php artisan optimize:clear
$STD composer dump-autoload
msg_ok "Updated Heimdall-Dashboard"
msg_info "Restoring Data"
+1
View File
@@ -51,6 +51,7 @@ cat <<EOF >/opt/actualbudget-data/config.json
EOF
mkdir -p /opt/actualbudget
cd /opt/actualbudget
$STD npm config set allow-scripts=bcrypt,better-sqlite3,argon2 --location=global
$STD npm install --location=global @actual-app/sync-server
echo "${RELEASE}" >~/.actualbudget
msg_ok "Installed Actual Budget"
-1
View File
@@ -24,7 +24,6 @@ fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
msg_info "Setting up Heimdall-Dashboard"
cd /opt/Heimdall
cp .env.example .env
sed -i 's/^APP_ENV=.*/APP_ENV=production/' .env
$STD php artisan key:generate
msg_ok "Setup Heimdall-Dashboard"