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:
parent
171e78dac0
commit
9de6a3702a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue