mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-28 04:35:53 +00:00
Update Notesnook
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user