diff --git a/ct/bar-assistant.sh b/ct/bar-assistant.sh index c1ad387..68f895d 100644 --- a/ct/bar-assistant.sh +++ b/ct/bar-assistant.sh @@ -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 diff --git a/ct/notesnook.sh b/ct/notesnook.sh index 4368379..d584468 100644 --- a/ct/notesnook.sh +++ b/ct/notesnook.sh @@ -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://${CL}" +echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:3000${CL}" diff --git a/install/notesnook-install.sh b/install/notesnook-install.sh index 2e193af..f5cc804 100644 --- a/install/notesnook-install.sh +++ b/install/notesnook-install.sh @@ -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"