[TLS 1.2] Add message for Powershell 5.1+

This commit is contained in:
Alexander Karatarakis 2018-03-20 12:39:43 -07:00
parent f528d9b82f
commit fdf8d471ed

View File

@ -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 "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"
}
}