1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cac-proxy_ynh.git synced 2024-09-03 18:16:07 +02:00

Fixed chrome install

This commit is contained in:
Gérard Collin 2024-09-02 12:10:35 +02:00
parent 171e78dac0
commit 9de6a3702a
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES AND CUSTOM HELPERS # COMMON VARIABLES AND CUSTOM HELPERS
#================================================= #=================================================
nodejs_version=16 nodejs_version=20
_generate_env_file() { _generate_env_file() {
# We must use chrome sandbox for kernels 5.x, 6.x doesn't need it anymore # We must use chrome sandbox for kernels 5.x, 6.x doesn't need it anymore

View file

@ -42,7 +42,7 @@ if [ $install_chromium -eq 1 ]; then
ynh_script_progression "Installing Chromium..." ynh_script_progression "Installing Chromium..."
pushd "$install_dir/package" 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 popd
fi fi