mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 07:19:24 +08:00
[TLS 1.2] Add message for Powershell 5.1+
This commit is contained in:
parent
f528d9b82f
commit
fdf8d471ed
@ -140,6 +140,7 @@ function vcpkgDownloadFile( [Parameter(Mandatory=$true)][string]$url,
|
|||||||
{
|
{
|
||||||
Write-Warning "Github has dropped support for TLS versions prior to 1.2, which is not available on your system"
|
Write-Warning "Github has dropped support for TLS versions prior to 1.2, which is not available on your system"
|
||||||
Write-Warning "Please manually download $url to $downloadPath"
|
Write-Warning "Please manually download $url to $downloadPath"
|
||||||
|
Write-Warning "To solve this issue for future downloads, you can also install PowerShell 5.1+"
|
||||||
throw "Download failed"
|
throw "Download failed"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user