mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-01 02:02:33 +01:00
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>