Skip to content

Conversation

@tylermlui
Copy link
Contributor

Summary of changes

  • Added build target for creating and signing macos pkg format
  • Added build target for notarizing pkg
  • Added build target for unsigned dmg
  • Tested on local system and James

@tylermlui tylermlui self-assigned this Jan 7, 2026
Copy link
Contributor

Copilot AI left a 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 PR adds macOS PKG installer build and signing capabilities to the build system. It introduces three new build targets for creating signed PKG installers, notarizing them with Apple, and generating unsigned DMG files.

Key Changes

  • Added create-pkg target that builds and signs a macOS PKG installer, including code signing of FlatLaf native libraries
  • Added notarize-pkg target to submit PKG installers to Apple's notarization service
  • Updated icon file references to use a new directory structure and added version-suffixed icon copies for jpackage compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<arg line="--app-version ${dmg.version}"/>
<arg line="--vendor 'jdiskmark'"/>
<arg line="--dest ${dist.dir}"/>
<arg line="--resource-dir pkg/macos/images"/>
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resource directory path is hardcoded while other paths use properties. Consider defining this as a property for consistency and maintainability.

Copilot uses AI. Check for mistakes.
tylermlui and others added 3 commits January 6, 2026 21:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants