correcting menu

changing binary path by variable
This commit is contained in:
Djan GICQUEL 2022-07-27 07:28:06 +02:00
parent 2292230b6b
commit 2c61717dc3
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ cd "$dir" || exit
choix=$(zenity --list --title=youtubedl --hide-header --hide-column=1 --column=1 --column=2 \
1 "Télécharger une vidéo (HD)" \
2 "Télécharger une vidéo (SD)" \
3 "Télécharger une musique" \
3 "Télécharger une musique/audio" \
4 "Mettre à jour yt-dlp")
if [ "$choix" = "1" ];then
@ -55,6 +55,6 @@ elif [ "$choix" = "3" ];then
elif [ "$choix" = "4" ];then
return=$($HOME/bin/yt-dlp --update)
return=$($youtubedlbinary --update)
notify-send -t 60000 -i youtube "yt-dlp" "$return"
fi