effectcraft/packaging/macos
lloyd f041aa7782 macOS: projects open from Finder; .pcraft is PhotoCraft's again
The app bundle exported ai.storyteller.effectcraft.document with the
`.pcraft` extension, PhotoCraft's document format. Installing EffectCraft
took `.pcraft` over, and since EffectCraft declared no document types,
neither app was offered for PhotoCraft documents in Finder. EffectCraft's
own projects (.ecproj, .ecprojx) had no file type at all.

- Info.plist: the exported type now tags .ecproj and .ecprojx ("EffectCraft
  Project", conforming to public.data and public.content rather than
  public.image), and CFBundleDocumentTypes makes EffectCraft their owner.
- Finder double-click, Open With, Dock drops and `open -a EffectCraft
  x.ecproj` send a kAEOpenDocuments Apple event that winit 0.30 doesn't
  handle. Register it with the audited fmv-macos-events crate that
  PhotoCraft and PdfCraft use (it keeps the unsafe Objective-C interop out
  of this workspace). Opened paths go through the dropped-file handling, so
  a project opens after the unsaved-changes prompt and media is imported. A
  quit event closes the window.
- The event that launches the app arrives before the UI draws: the first
  frames skip the panels until the fonts are installed, which dropped it.
  The paths wait for EffectcraftApp::is_ready().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:22:22 +02:00
..
dmg macOS DMG: branded window background and icon layout 2026-10-09 07:38:17 +02:00
Info.plist.in macOS: projects open from Finder; .pcraft is PhotoCraft's again 2026-10-10 14:22:22 +02:00
entitlements.plist Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 12:06:24 -04:00
import-cert.sh Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 12:06:24 -04:00
package.sh macOS DMG: branded window background and icon layout 2026-10-09 07:38:17 +02:00