-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: add writeUpdateInfo option for macOS builds #9486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: add writeUpdateInfo option for macOS builds #9486
Conversation
Add configurable writeUpdateInfo option to control whether update info is written for macOS zip targets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds a new configuration option writeUpdateInfo for macOS builds to provide fine-grained control over whether update information files (blockmaps) are generated for zip and DMG archives. This option defaults to true to maintain backward compatibility.
- Added
writeUpdateInfoboolean configuration option toMacConfigurationandDmgOptionsinterfaces - Updated
macPackager.tsto respect the new configuration option when creating zip targets - Updated JSON schema to include the new configuration option for both MacConfiguration and MasConfiguration
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/app-builder-lib/src/options/macOptions.ts | Added writeUpdateInfo optional boolean property to MacConfiguration interface with @private annotation and default value of true |
| packages/app-builder-lib/src/macPackager.ts | Updated zip target creation to use writeUpdateInfo configuration option instead of hardcoded true value |
| packages/app-builder-lib/scheme.json | Added JSON schema definitions for the new writeUpdateInfo boolean property in both MacConfiguration and MasConfiguration schemas |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * @private | ||
| * @default true | ||
| */ | ||
| writeUpdateInfo?: boolean |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The writeUpdateInfo property should be marked as readonly to maintain consistency with other optional properties in the MacConfiguration interface. All other optional properties in this interface use the readonly modifier.
| writeUpdateInfo?: boolean | |
| readonly writeUpdateInfo?: boolean |
| /** | ||
| * @private | ||
| * @default true | ||
| */ | ||
| writeUpdateInfo?: boolean |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation for this @private option lacks context about its purpose. Since this is a user-facing configuration option (even if marked private), it should include a description explaining what "update info" means and when a user might want to set this to false. Consider adding documentation similar to: "Whether to write update info files (blockmap) for zip archives. These files are used for differential updates."
| * @private | ||
| * @default true | ||
| */ | ||
| writeUpdateInfo?: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This applies to ALL mac targets, which isn't correct since that also includes pkg mas and dir targets, where this option would be irrelevant. I'm not sure I'm in favor of this approach
fix #9479
Add configurable writeUpdateInfo option to control whether update info is written for macOS zip targets.
🤖 Generated with Claude Code