Files
swiftcontrol/scripts
Jonas Bark 6ab8bf80bb feat(shorebird): enable macOS App Store OTA patches
Work around shorebirdtech/shorebird#3223: Apple re-processes the submitted
.pkg, so patches built from Shorebird's original `macos/app` artifact download
but fail to load. Register the store-delivered `.app` as a second release
artifact (`macos/app_mas_contents`) and point `shorebird patch` at it.

- Vendor lukemmtt's gist as scripts/shorebird_mas_patch.rb (BikeControl
  defaults) with register-baseline/status/patch, plus repo-adapted docs.
- build.yml: ship the macOS store binary through `shorebird release macos` so
  it carries the updater and a release record exists to patch against; disable
  the plain `flutter build macos` it replaces.
- patch.yml: replace the disabled stock shorebird-patch macOS step (the stale
  #143 one) with a script-driven patch, guarded by build_mac (off by default,
  needs a one-time local register-baseline first).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-24 12:06:36 +02:00
..