mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
Another try...
This commit is contained in:
parent
fd327aabe7
commit
9153a0baf5
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ Function PrepareCertificate() {
|
|||
#$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
||||
#Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow
|
||||
$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 "$psw"
|
||||
}
|
||||
|
||||
# Sign the specify file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue