mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +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 "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+"
|
Write-Warning "To solve this issue for future downloads, you can also install Windows Management Framework 5.1+"
|
||||||
throw "Download failed"
|
throw "Download failed"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user