summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn/snap
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/riseupvpn/snap')
-rw-r--r--pkg/riseupvpn/snap/gui/riseup-vpn.desktop5
-rw-r--r--pkg/riseupvpn/snap/snapcraft.yaml10
2 files changed, 12 insertions, 3 deletions
diff --git a/pkg/riseupvpn/snap/gui/riseup-vpn.desktop b/pkg/riseupvpn/snap/gui/riseup-vpn.desktop
index 1d586e74..6ddd3233 100644
--- a/pkg/riseupvpn/snap/gui/riseup-vpn.desktop
+++ b/pkg/riseupvpn/snap/gui/riseup-vpn.desktop
@@ -5,9 +5,10 @@ Name=RiseupVPN
Comment=Anonymous VPN
Comment[es]=VPN Anonima
Comment[de]=Secure Communication
-Exec=/snap/bin/riseup-vpn.launcher
+Path=/snap/bin
+Exec=riseup-vpn.launcher
Terminal=false
-Icon=riseup-vpn
+Icon=../riseup-vpn/current/snap/gui/riseupvpn.svg
Categories=Network;Application;
StartupNotify=true
Keywords=VPN;riseup;leap
diff --git a/pkg/riseupvpn/snap/snapcraft.yaml b/pkg/riseupvpn/snap/snapcraft.yaml
index f358615b..bf1f9d39 100644
--- a/pkg/riseupvpn/snap/snapcraft.yaml
+++ b/pkg/riseupvpn/snap/snapcraft.yaml
@@ -55,7 +55,15 @@ parts:
ln -s "../usr/lib/$(gcc -print-multiarch)/$LIBSOD" $SNAPCRAFT_PART_INSTALL/bin/libsodium.so.18
patchelf --set-rpath /snap/riseup-vpn/current/bin/ $SNAPCRAFT_PART_INSTALL/bin/bitmask-systray.git
desktop-gtk3:
- prime: ['*']
+ prime:
+ - -usr/include
+ - -usr/lib/locale
+ - -usr/share/X11/locale
+ - -usr/share/doc
+ - -usr/share/locale
+ - -usr/share/man
+ - -usr/share/icons
+ - '*'
apps:
bitmask-systray: