From 3297c1ad7f2a19c2f478d1872343eda2463bda3a Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 15 Aug 2016 18:11:48 +0200 Subject: [PATCH] Added wrong command, commented this out for now. --- build.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.ps1 b/build.ps1 index 0f59f5a3f..3de252787 100644 --- a/build.ps1 +++ b/build.ps1 @@ -55,11 +55,10 @@ Function MD5($filename) { Function PrepareCertificate() { $decodedContentBytes = [System.Convert]::FromBase64String($env:Certificate) $decodedContentBytes | set-content "greenshot.pfx" -encoding byte - $certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx") - Import-PfxCertificate –FilePath C:\mypfx.pfx cert:\localMachine\my -Password $env:CertificatePassword - Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow + + #Import-PfxCertificate –FilePath "greenshot.pfx" "cert:\localMachine\my" -Password "$env:CertificatePassword" } # Sign the specify file