target: Windows 10
The part of package.json
and the only diff is:
The full code of sign.js is:
And then I run the command line: yarn dist
Then I get the "sign it" eight times!
I don't know why and how to write the specific sign.js to sign my binary files.
Please help me, thank you in advance! :)
The text was updated successfully, but these errors were encountered:
Glad to get your reply so quickly! OK, as our CI flow use a customized sign tool, I can and only can use the customized sign.js to do the sign procedure.
I print the arguments configuration and see there only 4 files with isNest true and false so it runs 8 times
What should I do to get all other binary files to sign?
I do the sign of all the binaries in the sign.js 8 times in one build ? @develar
Each file is signed twice — sha1 (to support Windows 7) and sha256 (modern Windows versions).
If you don't want to support Windows 7 — you can set signingHashAlgorithms to
In your custom sign you should sign file according to passed configuration — see WindowsSignTaskConfiguration (and parent class WindowsSignOptions and so on).
OK, I'll try it, thank you