Repository navigation
desktop_updater 3.2.7
This patch makes macOS helper setup usable directly from a Flutter application and improves installation failure diagnostics.
- Run
dart run desktop_updater:release helper-policyfrom your app directory to preserve an existing policy and generate its editable source, canonical JSON, and SHA-256 build input. Fresh policies require your Apple Team ID and a feed-bound public release-key profile. - Report bounded installation preparation phases and reasons, and catch missing helper integration, invalid build numbers, and malformed or stale policy pins earlier.
- Fix helper packaging with spaces in project or DerivedData paths, including universal builds.
- Support custom DMG names through
macos.dmg.fileName.
Rebuild both the installed and incoming app with the corrected helper setup. If the installed app is missing the helper or has the wrong policy pin, manually install the rebuilt baseline before retrying its update.
The existing privacy-bundle signing fix remains included: resource-only privacy bundles are sealed by their enclosing code object without independent entitlement extraction.
Validation: 1,037 local tests passed (4 skipped), the complete local release check passed with zero publication warnings, and all 13 standard CI jobs passed for 16b56da31194b6b6af6d107f3ca79815b19282cd, including macOS native, SwiftPM, and CocoaPods. A separate local test app completed a Developer ID signed, notarized, stapled DMG update from build 1 to build 2 and relaunched on that same candidate.
The reporter's own app and original post-update file-selection scenario have not been verified. The isolated test does not resolve the earlier intermittent restart/Flutter-runner observations or certify privileged installation lanes, which were not enabled in CI.