1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/iceshrimp_ynh.git synced 2024-09-03 19:15:54 +02:00

Update install

This commit is contained in:
Mateusz 2024-04-27 22:40:21 +02:00 committed by Félix Piédallu
parent 2635c1cb6f
commit 3b646c8ed2

View file

@ -69,8 +69,8 @@ ynh_script_progression --message="Building app... This will take some time." --w
pushd "$install_dir"
ynh_use_nodejs
env $ynh_node_load corepack enable
env $ynh_node_load COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate
env $ynh_node_load_PATH corepack enable
env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init