[vlc-commits] snap: fix TryExec in the .desktop file.

Konstantin Pavlov git at videolan.org
Wed Feb 21 21:28:11 CET 2018


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Feb 21 22:50:39 2018 +0300| [543419b641589b51213c28dad3f488d46822f2d3] | committer: Konstantin Pavlov

snap: fix TryExec in the .desktop file.

(cherry picked from commit 7c39a723b758aeded349ef7903a5dd2e5ee24474)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=543419b641589b51213c28dad3f488d46822f2d3
---

 extras/package/snap/snapcraft.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extras/package/snap/snapcraft.yaml b/extras/package/snap/snapcraft.yaml
index 0e568cd5b6..847a396d5f 100644
--- a/extras/package/snap/snapcraft.yaml
+++ b/extras/package/snap/snapcraft.yaml
@@ -67,6 +67,7 @@ parts:
       echo $(git describe HEAD) > $SNAPCRAFT_STAGE/version
       make install
       sed -i 's|Icon=vlc|Icon=/usr/share/icons/hicolor/256x256/apps/vlc\.png|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/vlc.desktop
+      sed -i 's|TryExec=.*|TryExec=/snap/bin/vlc|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/vlc.desktop
     build-packages:
       - git
       - g++



More information about the vlc-commits mailing list