mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
enable signing
This commit is contained in:
@@ -37,13 +37,13 @@ try {
|
||||
|
||||
if($IsAppVeyor) {
|
||||
$CertificatePath = Join-Path -Path $SolutionDir -ChildPath $CertificatePath
|
||||
# Write-Output "Decrypt Cert"
|
||||
# & appveyor-tools\secure-file -decrypt "$($Env:cert_path).enc" -secret "$Env:cert_decrypt_pwd"
|
||||
# if(-Not (Test-Path $Env:cert_path)) {
|
||||
# Write-Output "decrypt cert does not exist..."
|
||||
# Throw "Could not decrypt cert"
|
||||
# }
|
||||
# Write-Output "Restoring NuGets"
|
||||
Write-Output "Decrypt Cert"
|
||||
& appveyor-tools\secure-file -decrypt "$($Env:cert_path).enc" -secret "$Env:cert_decrypt_pwd"
|
||||
if(-Not (Test-Path $Env:cert_path)) {
|
||||
Write-Output "decrypt cert does not exist..."
|
||||
Throw "Could not decrypt cert"
|
||||
}
|
||||
Write-Output "Restoring NuGets"
|
||||
}
|
||||
|
||||
# make sure the cert is actually available
|
||||
|
||||
Reference in New Issue
Block a user