Path to the application directory. We will scan this
directory for any .dll, .exe, .msi, or .node files and
codesign them with signtool.exe.
OptionalautomaticallyAutomatically selects the best signing certificate according to SignTool. Will be passed to signtool.exe as /a.
OptionalcertificatePath to a .pfx code signing certificate.
Will use process.env.WINDOWS_CERTIFICATE_FILE if this option is not provided.
OptionalcertificatePassword 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.
OptionaldebugEnables debug logging.
OptionaldescriptionDescription of the signed content. Will be passed to signtool.exe as /d.
OptionalhashesHash algorithms to use for signing.
OptionalhookA 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.
OptionalhookA 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.
OptionalsignWhether or not to sign JavaScript files.
OptionalsignPath to the signtool.exe used to sign. Will use vendor/signtool.exe if not provided.
OptionalsignAdditional parameters to pass to signtool.exe.
Microsoft's SignTool.exe documentation
OptionaltimestampPath to a timestamp server.
Will use process.env.WINDOWS_TIMESTAMP_SERVER if this option is not provided.
OptionalwebsiteURL 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.