Missing space

also don't print the signing command line as it has the token password
This commit is contained in:
David Baker 2019-10-11 12:21:28 +01:00
parent 5a7efcd738
commit 1ff06c4be4
1 changed files with 1 additions and 2 deletions

View File

@ -46,7 +46,7 @@ exports.default = async function(context) {
return new Promise((resolve, reject) => {
let cmdLine = 'osslsigncode sign ';
if (process.env.OSSLSIGNCODE_SIGNARGS) {
cmdLine += process.env.OSSLSIGNCODE_SIGNARGS + '';
cmdLine += process.env.OSSLSIGNCODE_SIGNARGS + ' ';
}
const tmpFile = 'tmp_' + Math.random().toString(36).substring(2, 15) + '.exe';
cmdLine += shellescape([
@ -54,7 +54,6 @@ exports.default = async function(context) {
'-in', `${appOutDir}/${appName}.exe`,
'-out', `${appOutDir}/${tmpFile}`,
]);
console.log(cmdLine);
const signproc = exec(cmdLine, {}, (error, stdout) => {
console.log(stdout);