Skip to content

Commit

Permalink
Embed version information in AppImage desktop file.
Browse files Browse the repository at this point in the history
  • Loading branch information
phoerious authored and lerignoux committed Jul 20, 2020
1 parent f51c24a commit a03ca35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions release-tool
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a03ca35

Please sign in to comment.