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:
parent
d99d283078
commit
c2d41f5a0f
1 changed files with 3 additions and 4 deletions
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue