How to create a test certificate to sign Electron application
If you use electron-builder and you need to sign your app to test the update process, but you don’t have the Apple Developer account.
- Keychain Access / Certificate Assistance / Create certificate…
- Set certificate type to ‘Code signing’
- Open certificate and set Trust field to ‘Always trust’
- Set env variable
export CSC_NAME="Test"
- Build
build --mac