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.
However, upon inspection of the source code of the windows-sign module, it appears that it throws an error at SEA_MAIN_SCRIPT, as observed 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'."
Description
Using the windows-sign parameter in the
createWindowsInstaller
function ofelectron/windows-installer
, seems to throw an error inSEA_MAIN_SCRIPT
. The windows-sign parameter is added in the createWindowsInstaller function here.However, upon inspection of the source code of the windows-sign module, it appears that it throws an error at
SEA_MAIN_SCRIPT
, as observed 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.