Conversation
|
New Issues (1)Checkmarx found the following issues in this Pull Request
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
electron-builder 26.4.0 includes a stricter version of @electron/universal that validates Mach-O binaries during universal app creation. The bufferutil package installs prebuilt binaries for all architectures (darwin-x64 and darwin-arm64), causing the universal merger to detect identical files in both builds and fail. Add x64ArchFiles pattern to allow these architecture-specific prebuilds to pass validation without attempting to merge them with lipo.
a9c447f to
ba7a594
Compare
c9b76a5 to
f83f602
Compare
| }, | ||
| "provisioningProfile": "bitwarden_desktop_developer_id.provisionprofile", | ||
| "singleArchFiles": "node_modules/@bitwarden/desktop-napi/desktop_napi.darwin-*.node", | ||
| "x64ArchFiles": "**/bufferutil/**/darwin-*/*.node", |
There was a problem hiding this comment.
Turns out electron builder now has a more detailed check for duplicates of binaries in universal builds.
| } | ||
| }, | ||
| "mas": { | ||
| "identity": "Bitwarden Inc", |
There was a problem hiding this comment.
Without providing the identity signing the .pkg file fails. Most likely because of upstream bug in resolving identity.
73a22af to
8e58fb2
Compare
|
We had an issue with Chromatic that is now fixed. I just reran the Chromatic workflow on your PR. You can ignore pending checks for |
|
Please note that updating electron-builder to latest should also enable building aarch64 versions of DEB and RPM packages: The current setup only builds a tar.gz package. Also see comments under this commit for reference: signalapp/Signal-Desktop@560dcb9 |
|





🎟️ Tracking
📔 Objective
This PR updates electron-builder to 26.6.0. The reason for upgrading is to unblock another PR: https://github.com/bitwarden/clients/pull/17982/changes#r2711707144
What do we normally test when we're bumping electron builder?
I've verified the dmg build.
📸 Screenshots