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
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j
|
ynh_exec_warn_less make -j
|
||||||
sudo make install
|
ynh_exec_warn_less make install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#Download your favourite model:
|
#Download your favourite model:
|
||||||
|
@ -82,11 +82,10 @@ pushd $install_dir/build_ldap/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd $install_dir/build_stt/
|
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 .
|
ln -s $install_dir/stt/whisper.cpp/models .
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
ynh_remove_go
|
ynh_remove_go
|
||||||
ynh_secure_remove --file="$install_dir/build/"
|
ynh_secure_remove --file="$install_dir/build/"
|
||||||
ynh_secure_remove --file="$install_dir/build_ldap/"
|
ynh_secure_remove --file="$install_dir/build_ldap/"
|
||||||
|
|
Loading…
Reference in a new issue