windows-installer icon indicating copy to clipboard operation
windows-installer copied to clipboard

Issue with windows-sign param throwing error in Electron/windows-installer (by sea-signtool)

Open barkinoaa opened this issue 10 months ago • 0 comments

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.

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.

barkinoaa avatar Apr 01 '24 13:04 barkinoaa