pdfcraft/packaging
Tristan von Kries 8c182087df
Issue #390: build the DMG with hdiutil create so the app passes codesign --strict (#823)
* Issue #390: build the DMG with hdiutil create so the app passes codesign --strict

makehybrid -hfs wrote a com.apple.FinderInfo (Finder location -1,-1) on every
file in the image, and codesign --verify --deep --strict rejects that as
"Finder information, or similar detritus", on the app in the DMG and on a copy
installed from it. hdiutil create -srcfolder writes the files as they are; it
attaches a device while copying, so it gets up to five tries. A gate mounts
the finished image read-only and verifies the app inside with --strict.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01REz7wTfQgnopyvN9eQJJVu

* Issue #390: retry hdiutil attach and detach in the DMG gate too

As suggested in review: the gate mounts the signed image under set -e, so a
"Resource busy" there would stop a release after the DMG was built. The same
five tries with growing pauses now cover create, attach and detach.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01REz7wTfQgnopyvN9eQJJVu

---------

Co-authored-by: Tristan von Kries <tristan@MacBook-Pro-von-Tristan.local>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 15:50:55 -04:00
..
freebsd Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
linux Print: list driverless CUPS destinations, not only permanent queues (#658) 2026-10-09 22:39:36 -04:00
macos Issue #390: build the DMG with hdiutil create so the app passes codesign --strict (#823) 2026-10-10 15:50:55 -04:00
web M3: keep late startup URLs from changing the active document (#583) 2026-10-09 18:52:13 -04:00
windows Windows: add reproducible security diagnostics for storytold/pdfcraft#747 (#769) 2026-10-10 15:39:44 -04:00
.shellcheckrc Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 12:06:19 -04:00
env.sh Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
icons.sh Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00