From 9153a0baf5b7bdce10bf2b54ccc2cb1107282822 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 15 Aug 2016 18:31:16 +0200 Subject: [PATCH] Another try... --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index fc2767cc5..e5b002531 100644 --- a/build.ps1 +++ b/build.ps1 @@ -58,7 +58,7 @@ Function PrepareCertificate() { #$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx") #Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow $psw = ConvertTo-SecureString $env:CertificatePassword -AsPlainText -Force - Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $env:psw + Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password "$psw" } # Sign the specify file