Skip to content

Commit

Permalink
fix: quotes around windows signing command args
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Dec 1, 2022
1 parent 065ff4d commit 7118365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/pack/win.ts
Expand Up @@ -281,12 +281,12 @@ async function signWindows(o: string, arch: string, config: Interfaces.Config, w

/* eslint-disable array-element-newline */
const args = [
'-pkcs12', windows.keypath,
'-pkcs12', `"${windows.keypath}"`,
'-pass', pass,
'-n', windows.name,
'-n', `"${windows.name}"`,
'-i', windows.homepage || config.pjson.homepage,
'-h', 'sha512',
'-in', buildLocationUnsigned,
'-in', `"${buildLocationUnsigned}"`,
'-out', o,
]
await exec(`osslsigncode ${args.join(' ')}`)
Expand Down

0 comments on commit 7118365

Please sign in to comment.