diff --git a/start-vara-fm b/start-vara-fm index 6493d92..72e7606 100755 --- a/start-vara-fm +++ b/start-vara-fm @@ -7,6 +7,14 @@ MYPATH=$HOME/patmenu2 LOGO=$MYPATH/pmlogo.png source $MYPATH/config +if [ ! -f $HOME/.wine/drive_c/VARA\ FM/VARAFM.exe ]; then + yad --title="FAILED" --width=400 --height=100 \ + --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \ + --center --form --text="VARA FM Modem not installed" \ + --button=gtk-ok +exit +fi + #Check if FLRIG is running if user has it set in config file if [ "$RIGCONTROL" = 'yes' ]; then echo "rig control is on"