Interface OptionalHookOptions

interface OptionalHookOptions {
    hookFunction?: HookFunction;
    hookModulePath?: string;
}

Hierarchy (view full)

Properties

hookFunction?: HookFunction

A 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.

hookModulePath?: string

A 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.