Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1872 from tylerslaton/increase-dmg-size
Browse files Browse the repository at this point in the history
Increase overhead for DMG to 30 megabytes
  • Loading branch information
tylerslaton authored Jun 29, 2023
2 parents 705a4b2 + 0710781 commit a741c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/notarize
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [[ "${NOTARIZE}" == "1" ]]; then

# Build the DMG
cp LICENSE README.md "${DIR}/"
SIZE="$(du -sm "${DIR}" | awk '{print $1 + 1}')" # The size of the directory + 1 megabyte for any overhead
SIZE="$(du -sm "${DIR}" | awk '{print $1 + 30}')" # The size of the directory + 30 megabytes for any overhead
dd if=/dev/zero of="${DMG}" bs=1M count="${SIZE}"
mkfs.hfsplus -v "Acorn" "${DMG}"
mkdir -p /tmp/acorn_mount
Expand Down

0 comments on commit a741c05

Please sign in to comment.