1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update install

This commit is contained in:
Éric Gaspar 2024-07-30 15:13:03 +02:00
parent d99d283078
commit c2d41f5a0f

View file

@ -52,8 +52,8 @@ pushd $install_dir/stt/whisper.cpp/
mkdir build
cd build
cmake ..
make -j
sudo make install
ynh_exec_warn_less make -j
ynh_exec_warn_less make install
popd
#Download your favourite model:
@ -82,11 +82,10 @@ pushd $install_dir/build_ldap/
popd
pushd $install_dir/build_stt/
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/stt/
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/stt/
ln -s $install_dir/stt/whisper.cpp/models .
popd
ynh_remove_go
ynh_secure_remove --file="$install_dir/build/"
ynh_secure_remove --file="$install_dir/build_ldap/"