mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-28 10:13:52 +00:00
1.2 KiB
1.2 KiB
Update Mac OS certificates for electron builder
Mac access required!
Certificates
- Use XCode to generate new certificates (Preferences/accounts/ManageCertificates... or do it from https://developer.apple.com/account/resources/certificates/list):
- Apple Development => Local Dev
- Apple Distribution => Distribute to store and dmg (?)
- (???) Mac Installer Distribution => Distribute to store
- Import new certificates into keychain
- Use Keychain to generate
all-certs.p12from all certs (check password!) base64 -i all-certs.p12 -o all-certs.txt- Update
MAC_CERTSwith value
Profiles
- Go to https://developer.apple.com/account/resources/profiles/list
- Create new "Mac App Store" (store) and "Developer ID" (dmg) Profile
- Download and move to tools/mac-profiles (HINT: take care that the IDE or editor does not mess up the white-spaces)
- Use
base64 -i dl.provisionprofile -o dmg-profile.txtandbase64 -i mas.provisionprofile -o MAS-profile.txtto get string for CI - Update
DL_PROVISION_PROFILEandMAS_PROVISION_PROFILE
See: https://www.electron.build/code-signing.html https://www.electronjs.org/docs/tutorial/mac-app-store-submission-guide