@pro4biz/electron-trusted-signing
v1.0.8
Published
Library for signing application on ElectronJS using Azure Trusted Signing
Readme
Electron Azure Trusted Signing
This is a node library for signing windows electron builds on any platform by jsign lib.
Installation
This module use java runtime for signing. Make sure you have a JDK or JRE installed.
npm install electron-azure-trusted-signingUsage
After installation, at the root of the project will be two new files sign.env and sign.key.
They both will be added to .gitignore
You should set your own env properties to sign.env
AZURE_TENANT_ID=""
AZURE_CLIENT_ID=""
AZURE_CLIENT_SECRET=""
TRUSTEDSIGNING_ACCOUNT_NAME=""
TRUSTEDSIGNING_PROFILE_NAME=""The sign.key file serves to temporarily save the created access token, it is used for signing until it is not expired, then it will be replaced with a new one.
Also you need add "signtoolOptions" to your build config to "win" section
"win":{
...
"signtoolOptions": {
"sign": "electron-azure-trusted-signing"
}
...
}Donate for coffee
You can say me "thanks" in this way
