Skip to content

Commit 1ff06c4

Browse files
committed
Missing space
also don't print the signing command line as it has the token password
1 parent 5a7efcd commit 1ff06c4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎scripts/electron_afterSign.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,14 @@ exports.default = async function(context) {
4646
return new Promise((resolve, reject) => {
4747
let cmdLine = 'osslsigncode sign ';
4848
if (process.env.OSSLSIGNCODE_SIGNARGS) {
49-
cmdLine += process.env.OSSLSIGNCODE_SIGNARGS + '';
49+
cmdLine += process.env.OSSLSIGNCODE_SIGNARGS + ' ';
5050
}
5151
const tmpFile = 'tmp_' + Math.random().toString(36).substring(2, 15) + '.exe';
5252
cmdLine += shellescape([
5353
'-pass', tokenPassphrase,
5454
'-in', `${appOutDir}/${appName}.exe`,
5555
'-out', `${appOutDir}/${tmpFile}`,
5656
]);
57-
console.log(cmdLine);
5857

5958
const signproc = exec(cmdLine, {}, (error, stdout) => {
6059
console.log(stdout);

0 commit comments

Comments
 (0)