leon3s / wireguard-gui

A wireguard client GUI for Debian/Linux made with nextauri
Apache License 2.0
72 stars 5 forks source link

Fix: Snap build #6

Open leon3s opened 7 months ago

leon3s commented 7 months ago

Seems like on snap we need to create a netplan to make network change on the host, This should be more investigated.

leon3s commented 2 months ago

See https://forum.snapcraft.io/t/request-classic-confinement-for-wireguard-gui/41038

leon3s commented 1 month ago

To avoid using sudo when starting the application, we can considere linking the c library of wireguard to use native call from the rust code instead of using the generated shell script. Then pass a env variable to know when we are running inside a snap or natively