Skip to content

Commit

Permalink
Add quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyspiegel committed Nov 2, 2022
1 parent db36830 commit dbece13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function verifySignature(publisherNames: Array<string>, unescapedTempUpda
// https://github.com/electron-userland/electron-builder/issues/2535
execFile(
"chcp 65001 >NUL & powershell.exe",
["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress`],
["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `"Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress"`],
{
shell: true,
timeout: 20 * 1000,
Expand Down

0 comments on commit dbece13

Please sign in to comment.