From c68f4872fa66642009efb9526212fef45d0c7dc0 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Wed, 10 Jun 2020 11:31:08 +0200 Subject: [PATCH] Embed version information in AppImage desktop file. Fixes #4645 --- release-tool | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/release-tool b/release-tool index 0d176835a..b95b0ddb8 100755 --- a/release-tool +++ b/release-tool @@ -736,12 +736,9 @@ EOF local appimage_name="KeePassXC-x86_64.AppImage" if [ "" != "$RELEASE_NAME" ]; then appimage_name="KeePassXC-${RELEASE_NAME}-x86_64.AppImage" + echo "X-AppImage-Version=${RELEASE_NAME}" >> "$desktop_file" fi - # Allow appimagetool to insert version information into the AppImage to allow - # desktop integration tools to display that in app launchers - export VERSION="${RELEASE_NAME}" - # Run appimagetool to package (and possibly sign) AppImage # --no-appstream is required, since it may crash on newer systems # see: https://github.com/AppImage/AppImageKit/issues/856