Skip to content

windows-sign param throwing error when using hookModulePath #18

Open
@barkinoaa

Description

@barkinoaa

Description

Using the windows-sign parameter in the createWindowsInstaller() function of electron/windows-installer, seems to throw an error in SEA_MAIN_SCRIPT. The windows-sign parameter is added in the createWindowsInstaller function here.

Upon inspection of the source code of the windows-sign module, it appears that it throws an error at SEA_MAIN_SCRIPT, see here: SEA_MAIN_SCRIPT - sea.ts. Furthermore, the error message lacks any informative details; instead, it only logs "electron-windows-sign Called with options ..." (refer to sign.ts). It was only after removing these logs that the actual error message became apparent: 'SignTool Error: File not found: windows-sign'."

This issue arises when using hookModulePath.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions