mustang-im / mustang

Mustang - New full-featured desktop email, chat and video conference client
https://mustang.im
Other
11 stars 3 forks source link

Mac: Code signing #97

Closed benbucksch closed 2 months ago

benbucksch commented 5 months ago

Actual result: image image

Expected result:

Note: We're using "electron builder", so tutorials about "electron forge" (an alternative to "electron builder") may not be applicable.

Docs:

jermy-c commented 5 months ago

Code Signing

  1. Register for Apple Developer program and get approved
  2. Create 2 certificate signing request in KeyChain app (application and installer certificates)
  3. Go Apple Developer portal and upload certificate signing requests
  4. Download certificates
  5. Configure electron-builder with certificates

References

https://www.peterkoraca.com/blog/how-to-package-code-sign-notarize-and-share-an-electronjs-app-for-mac-os-in-2023

https://github.com/marketplace/actions/electron-builder-action#code-signing

https://developer.apple.com/support/enrollment/

https://developer.apple.com/help/account/create-certificates/create-developer-id-certificates

benbucksch commented 5 months ago

Can you please go through the process?

Do that once for Beonex GmbH with app name "Parula" and once for Mustang GmbH with app name "Mustang".

benbucksch commented 5 months ago

https://github.com/marketplace/actions/electron-builder-github-action#code-signing

benbucksch commented 2 months ago

@jermy-c This is working now, right?

jermy-c commented 2 months ago

@jermy-c This is working now, right?

Yes, it is working now but both Parula and Mustang use the same code signing certificate(Beonex one).

benbucksch commented 2 months ago

Yes, that's understood.

Thanks for making this work!

jermy-c commented 2 months ago

You're welcome!