From 1ff06c4be44d868147b51ddb91f847d2f38f1f83 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 11 Oct 2019 12:21:28 +0100 Subject: [PATCH] Missing space also don't print the signing command line as it has the token password --- scripts/electron_afterSign.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/electron_afterSign.js b/scripts/electron_afterSign.js index 0149d7c4..8966ca7f 100644 --- a/scripts/electron_afterSign.js +++ b/scripts/electron_afterSign.js @@ -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);