mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
Improve warning message about Powershell 5.1
This commit is contained in:
parent
d45954a96b
commit
bc4fd2653b
@ -140,7 +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+"
|
||||
Write-Warning "To solve this issue for future downloads, you can also install Windows Management Framework 5.1+"
|
||||
throw "Download failed"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user