Optional automaticallyAutomatically selects the best signing certificate according to SignTool. Will be passed to signtool.exe as /a.
true
Optional certificatePath to a .pfx code signing certificate.
Will use process.env.WINDOWS_CERTIFICATE_FILE if this option is not provided.
Optional certificatePassword to certificateFile. If you don't provide this,
you need to provide the signWithParams option.
Will use process.env.WINDOWS_CERTIFICATE_PASSWORD if this option is not provided.
Optional debugEnables debug logging.
false
Optional descriptionDescription of the signed content. Will be passed to signtool.exe as /d.
Array of paths to files to be codesigned with signtool.exe.
Optional hashesHash algorithms to use for signing.
Optional hookA hook function called for each file that needs to be signed.
Use this for full control over your app's signing logic.
@electron/windows-sign will not attempt to sign with SignTool if a custom hook is detected.
Optional hookA path to a JavaScript file, exporting a single function that will be called for each file that needs to be signed.
Use this for full control over your app's signing logic.
@electron/windows-sign will not attempt to sign with SignTool if a custom hook is detected.
Optional signWhether or not to sign JavaScript files.
false
Optional signPath to the signtool.exe used to sign. Will use vendor/signtool.exe if not provided.
Optional signAdditional parameters to pass to signtool.exe.
Microsoft's SignTool.exe documentation
Optional timestampPath to a timestamp server.
Will use process.env.WINDOWS_TIMESTAMP_SERVER if this option is not provided.
http://timestamp.digicert.com
Optional websiteURL for the expanded description of the signed content. Will be passed to signtool.exe as /du.
Options for signing by passing an array of files to be codesigned.