So my flow is the follworing - first i create static build (html, css and js). It is located under /build folder.
After that, i run shell script, which exports 2 env variables with CSC_LINK and CSC_KEY_PASSWORD. And then runs command to create electron build. Here is my shell script:
export CSC_LINK="$(pwd)/build-assets/mac-dev-installer.p12"
export CSC_KEY_PASSWORD="password"
yarn run electron-mac
My certificate is valid and has private key:
But I am still getting the following error (output with DEBUG=electron-builder option):
Sertificate is 100% valid, since it's possible to sign in app post factum with productsign. But i need to implement autoUpdater and it require app to be signed during building.
Version: "electron": "1.7.6" "electron-builder": "19.10.0"
Target: macOS Sierra Version 10.12.6 (16G29)
Getting an error when trying to build my electron app. My package.json:
So my flow is the follworing - first i create static build (html, css and js). It is located under /build folder. After that, i run shell script, which exports 2 env variables with
CSC_LINK
andCSC_KEY_PASSWORD
. And then runs command to create electron build. Here is my shell script:My certificate is valid and has private key:
But I am still getting the following error (output with
DEBUG=electron-builder
option):Sertificate is 100% valid, since it's possible to sign in app post factum with productsign. But i need to implement autoUpdater and it require app to be signed during building.