ivpn / desktop-app

Official IVPN Desktop app
https://www.ivpn.net/apps/
GNU General Public License v3.0
351 stars 48 forks source link

Automatic yes argument. #332

Open 5p4r74cu5 opened 10 months ago

5p4r74cu5 commented 10 months ago

I would like an automatic yes argument, like -y. I was unable to find one listed in the -h -full, and -y didn't work. It is specifically for a script that automatically launches OBS as an excluded application at startup.

In case it's relevant, my script looks like this:

sleep 15 ivpn exclude /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio --startstreaming

I tried using a yes | in front of the second line, but then the process runs in the script and further commands that follow these lines in the same script... and of course, apologies if I'm overlooking something obvious; I'm still a Linux novice.

0x455241 commented 4 months ago

This confirmation dialog is very annoying, I solved it by using echo "y" | COMMAND.