From 9de6a3702ae0c9c13ce6125ca7ed9e860a02b4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Mon, 2 Sep 2024 12:10:35 +0200 Subject: [PATCH] Fixed chrome install --- scripts/_common.sh | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 317b717..ea81630 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES AND CUSTOM HELPERS #================================================= -nodejs_version=16 +nodejs_version=20 _generate_env_file() { # We must use chrome sandbox for kernels 5.x, 6.x doesn't need it anymore diff --git a/scripts/install b/scripts/install index c33b09b..bcef07b 100755 --- a/scripts/install +++ b/scripts/install @@ -42,7 +42,7 @@ if [ $install_chromium -eq 1 ]; then ynh_script_progression "Installing Chromium..." pushd "$install_dir/package" - ynh_exec_as_app npm "./node_modules/puppeteer/install.js" + ynh_exec_as_app node "./node_modules/puppeteer/install.js" popd fi