From c48d5dfc1a8c0b256fb1bc5775920c46aa6444e3 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 15 Aug 2016 18:23:06 +0200 Subject: [PATCH] Getting closer... --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 86f912099..f48306e31 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 - Get-ChildItem -Path "greenshot.pfx" | Import-PfxCertificate -CertStoreLocation Cert:\CurrentUser\My -Password $env:CertificatePassword + Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $env:CertificatePassword } # Sign the specify file