Skip to content

Commit

Permalink
OSX Use absolute path for DMG file
Browse files Browse the repository at this point in the history
  • Loading branch information
oaubert committed Aug 30, 2024
1 parent b47e75a commit 43e411f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/osx_bundle/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ function main {
"$ADVENE" > "$ADVENE/Contents/Resources/content.txt"

DMG_SETTINGS="misc/dmg_settings.py"
DMG_FILE="$QL_OSXBUNDLE_BUNDLE_DEST/Advene-$VERSION.dmg"
jhbuild run dmgbuild -s "$DMG_SETTINGS" -D app="$ADVENE" \
"Advene $VERSION" "$QL_OSXBUNDLE_BUNDLE_DEST/ADVENE-$VERSION.dmg"
"Advene $VERSION" "$DMG_FILE"

(cd "$QL_OSXBUNDLE_BUNDLE_DEST" && \
shasum -a256 "Advene-$VERSION.dmg" > "Advene-$VERSION.dmg.sha256")
shasum -a256 "$DMG_FILE" > "${DMG_FILE}.sha256" )
}

main "$@";

0 comments on commit 43e411f

Please sign in to comment.