vectorcraft/packaging
bflatastic b2c6764472 Fix #295: open files from the macOS Finder and Dock
Finder, Open With, a drop on the Dock icon and `open -a` failed with "VectorCraft cannot open
files in the PDF document format":

- The release Info.plist declared no document types, so Launch Services refused the files before
  the app saw them. Info.plist.in now declares every format File › Open reads (the engine's
  OPEN_EXTS; a test keeps them in step): VectorCraft owns its own documents and templates and is an
  alternate for the others, so it takes over no other app's files. `cargo xtask bundle` now fills
  in the same template instead of its own, shorter plist.
- macOS delivers such files as open-document events, not arguments. winit 0.30's application
  delegate has no `application:openURLs:`, so AppKit fell back to NSDocumentController, which
  refuses every file of a non-NSDocument app (the error in both issues). The new
  `open_documents` module adds that method to the delegate's class when the app is about to finish
  launching (before AppKit delivers launch files), queues the paths and wakes the UI, which opens
  them with `io::open_path` like command-line files; errors go to the status bar too.

New direct macOS dependencies `objc2-foundation` 0.3 and `block2` 0.6 were already in Cargo.lock
(through winit, muda and rfd). The module allows `unsafe_code` for the Objective-C runtime call.

Fixes #354

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 05:28:50 +07:00
..
freebsd FreeBSD: release package and a packaging check in CI 2026-10-05 09:25:46 -04:00
linux M4.11: packaging metadata describes a vector illustration app 2026-10-04 11:19:13 +07:00
macos Fix #295: open files from the macOS Finder and Dock 2026-10-08 05:28:50 +07:00
web M4.11: packaging metadata describes a vector illustration app 2026-10-04 11:19:13 +07:00
windows Merge pull request #220 from storytold/pr/craft-fonts 2026-10-06 14:37:41 -04:00
.shellcheckrc Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 11:35:29 -04:00
env.sh Fonts: use craft-fonts as an optional build input; move the Japanese fonts out 2026-10-06 10:42:21 -04:00
icons.sh app icon: regal engraved dragon (owner's ArtCraft drawing), Dock/taskbar/launcher wiring, palette docs 2026-10-02 09:45:30 -04:00