This commit is contained in:
Bas van den Berg 2025-05-25 23:16:51 +02:00
commit 7bca9117bf
3 changed files with 8 additions and 7 deletions

View File

@ -97,6 +97,7 @@ function update_script() {
rm -rf /opt/saltrim.zip
rm -rf /opt/vue-salt-rim-backup
msg_ok "Cleaned"
msg_ok "Updated"
else
msg_ok "No update required. Salt Rim is already at v${RELEASE_SALTRIM}"
fi

View File

@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/
APP="notesnook"
var_tags="${var_tags:-os}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-2048}"
var_ram="${var_ram:-3048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
@ -32,10 +32,11 @@ function update_script() {
systemctl stop notesnook
msg_ok "Stopped Service"
msg_info "Updating ${APP}"
msg_info "Updating ${APP} (Patience)"
rm -rf /opt/notesnook
fetch_and_deploy_gh_release "streetwriters/notesnook"
cd /opt/notesnook
export NODE_OPTIONS="--max-old-space-size=1536"
export NODE_OPTIONS="--max-old-space-size=2560"
$STD npm install
$STD npm run build:web
msg_ok "Updated $APP"
@ -55,4 +56,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}https://<your_domain>${CL}"
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:3000${CL}"

View File

@ -19,10 +19,10 @@ msg_ok "Installed Dependencies"
NODE_MODULE="yarn" install_node_and_modules
msg_info "Installing Notesnook"
msg_info "Installing Notesnook (Patience)"
fetch_and_deploy_gh_release "streetwriters/notesnook"
cd /opt/notesnook
#export NODE_OPTIONS="--max-old-space-size=2048"
export NODE_OPTIONS="--max-old-space-size=2560"
$STD npm install
$STD npm run build:web
msg_ok "Installed Notesnook"
@ -50,7 +50,6 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -f "$temp_file"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"