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