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
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -39,7 +39,9 @@ function update_script() {
msg_ok "Stopped Service" msg_ok "Stopped Service"
msg_info "Updating Actual Budget to ${RELEASE}" 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 update -g @actual-app/sync-server
$STD npm rebuild -g
echo "${RELEASE}" >~/.actualbudget echo "${RELEASE}" >~/.actualbudget
msg_ok "Updated Actual Budget to ${RELEASE}" msg_ok "Updated Actual Budget to ${RELEASE}"
+1
View File
@@ -51,6 +51,7 @@ cat <<EOF >/opt/actualbudget-data/config.json
EOF EOF
mkdir -p /opt/actualbudget mkdir -p /opt/actualbudget
cd /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 $STD npm install --location=global @actual-app/sync-server
echo "${RELEASE}" >~/.actualbudget echo "${RELEASE}" >~/.actualbudget
msg_ok "Installed Actual Budget" msg_ok "Installed Actual Budget"