Path to the application directory. We will scan this
directory for any .dll, .exe, .msi, or .node files and
codesign them with signtool.exe.
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.
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 a path to a directory to be codesigned.