From 980386f31741e5f1458b9a9b7f90ae24a0e3a9c2 Mon Sep 17 00:00:00 2001 From: Alexis Lopez Zubieta <contact@azubieta.net> Date: Mon, 16 Sep 2019 12:06:32 -0500 Subject: [PATCH] Add pkg version to the desktop entry --- pkg/appimage/appimagebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/appimage/appimagebuild b/pkg/appimage/appimagebuild index 7421ca6..afe2d89 100755 --- a/pkg/appimage/appimagebuild +++ b/pkg/appimage/appimagebuild @@ -19,6 +19,9 @@ APPDIR="${PKGNAME}.AppDir" make make DESTDIR=${APPDIR} prefix=/usr install +# Set version +echo "X-AppImage-Version=${PKGVER}" >> ${APPDIR}/usr/share/applications/${PKGNAME}.desktop + install -D -m 755 ${APPDIR}/usr/bin/${PKGNAME} ${APPDIR}/AppRun install -D -m 644 ${APPDIR}/usr/share/applications/${PKGNAME}.desktop ${APPDIR}/${PKGNAME}.desktop install -D -m 644 ${APPDIR}/usr/share/icons/hicolor/scalable/apps/${PKGNAME}.svg ${APPDIR}/${PKGNAME}.svg -- GitLab