Fix Windows signing args
The hash arg seems to only accept the short `-h` form. In addition, the args in the environment contained a fixed hash type which is removed here.
This commit is contained in:
parent
d56b73e220
commit
99ee0fc72d
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ exports.default = async function(options) {
|
|||
'tmp_' + Math.random().toString(36).substring(2, 15) + '.exe',
|
||||
);
|
||||
const args = [
|
||||
'-hash', options.hash,
|
||||
'-h', options.hash,
|
||||
'-pass', tokenPassphrase,
|
||||
'-in', inPath,
|
||||
'-out', tmpFile,
|
||||
|
@ -44,6 +44,7 @@ exports.default = async function(options) {
|
|||
if (options.isNest) args.push('-nest');
|
||||
cmdLine += shellescape(args);
|
||||
|
||||
console.log("Running", cmdLine);
|
||||
const signproc = exec(cmdLine, {}, (error, stdout) => {
|
||||
console.log(stdout);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue