-
Notifications
You must be signed in to change notification settings - Fork 400
Ensure safari extension is included in mas and not only darwin #1128
Conversation
CI build is failing, we'll need to replace |
Once the notarization by apple is successful how long will the wait be for it to appear in the store? |
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.
I wish we could get away from doing this.
Side note that doesn't need to be acted on here, the afterSign
key can be applied to only mac builds in package.json
so we don't need to worry about identifying whether it's a mac build
* Ensure safari extension is included in mas and not only darwin * Add support for re-signing mas * Add support for mas-dev (cherry picked from commit 05470b4)
I downloaded 1.29.1 and I'm still seeing the same issue. I ran |
@jslopezgithub 1.29.1 isn't available on the mac app store yet. It is pending review from Apple. |
@kspearrin It is available in the releases: https://github.com/bitwarden/desktop/releases/download/v1.29.1/Bitwarden-1.29.1.dmg |
@jslopezgithub The extension is only available on the Mac App Store version. |
Hi @andrewkr sorry for the inconvenience, please have a look at https://community.bitwarden.com/t/bitwarden-does-not-show-as-safari-extension-macos/28229/32 |
Thanks! It took a few tries, but I got there in the end. |
Type of change
Objective
The upgrade of electron builder in #1088 changed how we include and sign the safari extension. Unfortunately when building for the mac app store the
electronPlatformName
is notdarwin
butmas
. This resulted in the extension not being included in the desktop release.I needed to also change from
signApp
tosign
since we need to sign a MAS application, which required me to replicate some of the logic used to build the arguments.Code changes
mas
runs the specific copy and re-sign of the safari extension.Testing requirements
Verify the GH release pipeline contains the
safari.appex
inPlugIn
directory.Before you submit
npm run lint
) (required)