From 2d2c17c6e53a2b09e6baacd4c12e9bb41fc3a63d Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 29 Oct 2023 13:46:11 +0100 Subject: [PATCH] disable multi_instance + fix restore --- manifest.toml | 2 +- scripts/restore | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index d3dec64..3dfc857 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,7 @@ code = "https://github.com/aleksilassila/reiverr" [integration] yunohost = ">= 11.2.4" architectures = "all" -multi_instance = true +multi_instance = false ldap = "not_relevant" sso = "not_relevant" diff --git a/scripts/restore b/scripts/restore index a5de064..ea89af5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,6 +10,22 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing dependencies..." --weight=5 + +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version + +# Upgrade NPM +ynh_npm install --global npm@latest + +# Install Yarn +ynh_npm install --global yarn + +# Install vite +ynh_npm install --global vite + #================================================= # RESTORE THE APP MAIN DIR #=================================================