We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e4da5 commit 88aba16Copy full SHA for 88aba16
sconstruct
@@ -197,7 +197,7 @@ if apiSigningToken:
197
retval = 1 # error value
198
for targetFile in target:
199
if (abspath := targetFile.abspath).endswith((".exe", ".dll")):
200
- ps_cmd = f"PowerShell -ExecutionPolicy bypass -File appveyor\scripts\sign.ps1 -ApiToken {apiSigningToken} -FileToSign {abspath}"
+ ps_cmd = f"PowerShell -ExecutionPolicy Bypass -Scope CurrentUser -File appveyor\scripts\sign.ps1 -ApiToken {apiSigningToken} -FileToSign {abspath}"
201
if (retval := env.Execute(ps_cmd, shell=True)) != 0:
202
print(f"Error signing file: {abspath}")
203
return retval
0 commit comments