Embed version information in AppImage

This commit is contained in:
TheAssassin 2019-06-18 00:09:18 +02:00 committed by Jonathan White
parent 04360ed552
commit 0c2d1bcc50

View File

@ -699,6 +699,10 @@ EOF
appimage_name="KeePassXC-${RELEASE_NAME}-x86_64.AppImage" appimage_name="KeePassXC-${RELEASE_NAME}-x86_64.AppImage"
fi 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 # Run appimagetool to package (and possibly sign) AppImage
# --no-appstream is required, since it may crash on newer systems # --no-appstream is required, since it may crash on newer systems
# see: https://github.com/AppImage/AppImageKit/issues/856 # see: https://github.com/AppImage/AppImageKit/issues/856