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

Konstantin Pavlov git at videolan.org
Wed Feb 21 21:22:51 CET 2018


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Feb 21 22:50:39 2018 +0300| [7c39a723b758aeded349ef7903a5dd2e5ee24474] | committer: Konstantin Pavlov

snap: fix TryExec in the .desktop file.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c39a723b758aeded349ef7903a5dd2e5ee24474
---

 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