pdfcraft/packaging/macos
Shaurya Swarup bfa17ff3b9
macOS: declare PDF by UTI so Open With recommends PrintCraft (#176)
CFBundleDocumentTypes listed PDF by extension and MIME type only.
LaunchServices keeps those as plain tags (.pdf, application/pdf)
instead of resolving them to com.adobe.pdf, so Finder greys the app
out under Open With > Recommended Applications and a forced open
fails with 'cannot open files in the PDF document format'.

Add LSItemContentTypes com.adobe.pdf (keeping extension and MIME for
backward compatibility). Role stays Editor, rank stays Alternate, so
the app is offered without hijacking the default. Verified with
lsregister -dump: bindings change from '.pdf, application/pdf' to
'com.adobe.pdf' with claimed UTIs com.adobe.pdf; plutil -lint and
xmllint --noout pass.

Follow-up to #73.

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-07 21:12:50 -04:00
..
Info.plist.in macOS: declare PDF by UTI so Open With recommends PrintCraft (#176) 2026-10-07 21:12:50 -04:00
entitlements.plist Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
import-cert.sh Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
package.sh Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00