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

Increase overhead for DMG to 30 megabytes #1872

Merged
merged 1 commit into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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