Update Notesnook

This commit is contained in:
tremor021 2025-05-25 22:06:14 +02:00
parent 6c4b3c265e
commit 0d7a8ec701
2 changed files with 3 additions and 4 deletions

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}"
@ -35,7 +35,7 @@ function update_script() {
msg_info "Updating ${APP}"
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"

View File

@ -22,7 +22,7 @@ NODE_MODULE="yarn" install_node_and_modules
msg_info "Installing Notesnook"
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"