mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
another try
This commit is contained in:
parent
544e8e92e2
commit
fd327aabe7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Function PrepareCertificate() {
|
||||||
$decodedContentBytes | set-content "greenshot.pfx" -encoding byte
|
$decodedContentBytes | set-content "greenshot.pfx" -encoding byte
|
||||||
#$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
#$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
||||||
#Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow
|
#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
|
Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $env:psw
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue