@electron/packager
    Preparing search index...

    Interface PackagerWindowsSignOptions

    See the documentation for @electron/windows-sign for details.

    interface PackagerWindowsSignOptions {
        automaticallySelectCertificate?: boolean;
        certificateFile?: string;
        certificatePassword?: string;
        continueOnError?: boolean;
        debug?: boolean;
        description?: string;
        hashes?: HASHES[];
        hookFunction?: HookFunction;
        hookModulePath?: string;
        signJavaScript?: boolean;
        signToolPath?: string;
        signWithParams?: string | string[];
        timestampServer?: string;
        website?: string;
    }

    Hierarchy

    Index

    Properties

    automaticallySelectCertificate?: boolean

    Automatically selects the best signing certificate according to SignTool. Will be passed to signtool.exe as /a.

    true
    
    certificateFile?: string

    Path to a .pfx code signing certificate. Will use process.env.WINDOWS_CERTIFICATE_FILE if this option is not provided.

    certificatePassword?: string

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

    continueOnError?: boolean
    debug?: boolean

    Enables debug logging.

    false
    
    description?: string

    Description of the signed content. Will be passed to signtool.exe as /d.

    hashes?: HASHES[]

    Hash algorithms to use for signing.

    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.

    signJavaScript?: boolean

    Whether or not to sign JavaScript files.

    false
    
    signToolPath?: string

    Path to the signtool.exe used to sign. Will use vendor/signtool.exe if not provided.

    signWithParams?: string | string[]

    Additional parameters to pass to signtool.exe.

    timestampServer?: string

    Path to a timestamp server. Will use process.env.WINDOWS_TIMESTAMP_SERVER if this option is not provided.

    http://timestamp.digicert.com
    
    website?: string

    URL for the expanded description of the signed content. Will be passed to signtool.exe as /du.