Getting closer...

This commit is contained in:
Robin 2016-08-15 18:23:06 +02:00
parent 24cd4e51b0
commit c48d5dfc1a

View file

@ -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