From 26416a05c02b0d9d6733d9f7c7474d8dd894cdc4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 10 Apr 2022 08:52:48 +0200 Subject: [PATCH] upgrade --- manifest.json | 7 ++++--- scripts/_common.sh | 4 ++-- scripts/remove | 10 ---------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/manifest.json b/manifest.json index c2b1870..42c7fbb 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,8 @@ "id": "snweb", "packaging_format": 1, "description": { - "en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android." + "en": "End-to-end encrypted note-taking app", + "en": "Application de prise de notes chiffrée" }, "version": "3.8.25~ynh2", "url": "https://github.com/standardnotes/web", @@ -21,7 +22,7 @@ "email": "46000361+FabianWilkens@users.noreply.github.com" }, "requirements": { - "yunohost": ">= 4.3" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ @@ -39,7 +40,7 @@ "example": "/notes", "default": "/", "help": { - "en": "You can use extensions only without a path url." + "en": "You can use extensions only without a path URL." } }, { diff --git a/scripts/_common.sh b/scripts/_common.sh index 172122c..27c6652 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -14,10 +14,10 @@ pkg_dependencies="\ " RUBY_VERSION="2.7.3" -NODEJS_VERSION="15.11.0" +NODEJS_VERSION="16" SOURCE="https://github.com/standardnotes/web" -COMMIT="e856ce7bfd3a7b357544e43ca343b1ec861debb3" +COMMIT="90fcac61e0ed58e875648951fd4c257cd77a4165" node_max_old_space_size=2048 diff --git a/scripts/remove b/scripts/remove index 460bbc1..4552e6f 100755 --- a/scripts/remove +++ b/scripts/remove @@ -76,16 +76,6 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight= # Remove the app-specific logrotate config ynh_remove_logrotate -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - #================================================= # SPECIFIC REMOVE #=================================================