From e0c76d6ef8de928990419adddcd83b141dcee75f Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 13 Apr 2026 21:18:17 +0200 Subject: [PATCH] dashy: add prebuild --- install/dashy-install.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index 3df08f37..c4c6567f 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -13,13 +13,12 @@ setting_up_container network_check update_os -NODE_VERSION="24" setup_nodejs -fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "tarball" +NODE_VERSION="18" NODE_MODULE="yarn" setup_nodejs +fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "prebuild" "latest" "/opt/dashy" "dashy-*.tar.gz" msg_info "Installing Dashy" cd /opt/dashy -$STD npm install -$STD npm run build +$STD yarn install --production --ignore-engines --network-timeout 300000 msg_ok "Installed Dashy" msg_info "Creating Service" @@ -30,7 +29,7 @@ Description=dashy [Service] Type=simple WorkingDirectory=/opt/dashy -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/node server.js [Install] WantedBy=multi-user.target EOF