breaktimer-app icon indicating copy to clipboard operation
breaktimer-app copied to clipboard

MacOS fixes

Open mattisz opened this issue 1 year ago • 0 comments

Goals of this PR:

  1. Build for apple silicon with code-signing and notarization
  2. Update some packages
  3. Minimize changes to build process

What's in this PR:

  1. Updates electron-builder to 25.1.3 to leverage builtin notarization step for macOS.
  2. Removes com.apple.security.cs.allow-unsigned-executable-memory entitlement as we are using electron 12+ - per electron/notarize.
  3. Adds the com.apple.security.cs.allow-jit entitlement to allow arm64 builds as we are using electron 20+ - per electron-builder mac entitlements.
  4. Removes legacy internals/scripts/Notarize.js and associated afterSign section from package.json in favor of electron-builder's builtin notarization.
  5. Updates package-lock.json per npm audit fix.
  6. Updates DEVELOPMENT.md to include environment variable info for MacOS signing/notarization.

mattisz avatar Oct 15 '24 15:10 mattisz