summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-27 23:37:38 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:16 +0100
commit64a159436428450aec8170b49d5b3ae895560d79 (patch)
tree3ed39b350570707533c87f742fdf3d5972ed8fd0
parent7ee1dbc6468f5c6bbd4f3d795f221774e1d7ada3 (diff)
[pkg] add desktop entry
-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: