From 0bf80fb3cb07411071700e671cd90fc14e2ffa71 Mon Sep 17 00:00:00 2001 From: Yeray Date: Sat, 27 Jul 2024 19:43:54 +0200 Subject: [PATCH] 2 --- manifest.toml | 20 +++----------------- scripts/_common.sh | 2 +- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/manifest.toml b/manifest.toml index 49ffa05..44ba1e1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,12 +4,12 @@ packaging_format = 2 id = "custom_nodejs" name = "Custom Node.js" -description.en = "Open source powerful wiki app built on Node.js, Git and Markdown" +description.en = "Deploy a Node.js application (backend/ssr frontend) in Yunohost using a git repo uri" description.fr = "Wiki open source propulsé par Node.js, Git et Markdown" version = "2.5.303~ynh1" -maintainers = ["yalh76"] +maintainers = ["yeraycat"] [upstream] license = "AGPL-3.0-or-later" @@ -40,27 +40,13 @@ ram.runtime = "50M" default = "visitors" [resources] - [resources.sources.main] - url = "https://github.com/requarks/wiki/releases/download/v2.5.303/wiki-js.tar.gz" - sha256 = "269bf80fe95d18fbc9cfef1cc0d86b982f888b9746d143930b924858fc14cef9" + in_subdir = false autoupdate.strategy = "latest_github_release" autoupdate.asset = "wiki-js.tar.gz" - [resources.ports] - [resources.system_user] - [resources.install_dir] - [resources.permissions] - main.url = "/" - main.auth_header = false - - [resources.apt] - packages = "postgresql" - - [resources.database] - type = "postgresql" diff --git a/scripts/_common.sh b/scripts/_common.sh index b818f0f..44277c5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=16 +nodejs_version=20 #================================================= # PERSONAL HELPERS