mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Change the way the file is written.
This commit is contained in:
parent
341e5fd418
commit
ae05c71399
2 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,6 @@ environment:
|
||||||
before_build:
|
before_build:
|
||||||
- nuget restore
|
- nuget restore
|
||||||
- ps: .\prebuild.ps1
|
- ps: .\prebuild.ps1
|
||||||
- ps: [System.Convert]::FromBase64String($env:CertificatePassword) | set-content "greenshot.pfx" -encoding byte
|
|
||||||
- ps: $psw = ConvertTo-SecureString $env:CertificatePassword -AsPlainText
|
- ps: $psw = ConvertTo-SecureString $env:CertificatePassword -AsPlainText
|
||||||
- ps: Import-PfxCertificate -FilePath Greenshot.pfx -CertStoreLocation cert:\CurrentUser\My -Password $psw
|
- ps: Import-PfxCertificate -FilePath Greenshot.pfx -CertStoreLocation cert:\CurrentUser\My -Password $psw
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -44,3 +44,6 @@ Function FillCredentials {
|
||||||
}
|
}
|
||||||
|
|
||||||
FillCredentials
|
FillCredentials
|
||||||
|
|
||||||
|
# Write the certificate to a file
|
||||||
|
[System.Convert]::FromBase64String($env:CertificatePassword) | set-content "greenshot.pfx" -encoding byte
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue