I’m struggling to make it work in a confined snap. It uses wg-quick and zenity in the background.
Is there a way to make it work inside a confined app? You can see my config here.
If not, could it be possible to publish it with classic confinement?
Sorry i should have read this before, also details more about what is my issue.
My application is starting fine the problem is when i execute this script
I got a permission error when trying to execute sudo.
If i add sudo in the stage-packages it fix it but then i have another error where libsudo_utils.so.0 is missing.
You can not call sudo from inside snaps, simply ask your users to call it outside when starting it (you can add a command-chain wrapper script that checks for UID=0 and pops up a zenity dialog telling them about it)