From fd327aabe7a93b605bf7f7832c253a6b12b86996 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 15 Aug 2016 18:29:24 +0200 Subject: [PATCH] another try --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 6c3ed8723..fc2767cc5 100644 --- a/build.ps1 +++ b/build.ps1 @@ -57,7 +57,7 @@ Function PrepareCertificate() { $decodedContentBytes | set-content "greenshot.pfx" -encoding byte #$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx") #Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow - $psw = ConvertTo-SecureString $env:CertificatePassword -AsPlainText + $psw = ConvertTo-SecureString $env:CertificatePassword -AsPlainText -Force Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $env:psw }