0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-19 20:02:18 +02:00

Embed version information in AppImage desktop file.

Fixes #4645
This commit is contained in:
Janek Bevendorff 2020-06-10 11:31:08 +02:00
parent cbf7759e7c
commit c68f4872fa

View File

@ -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