diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-03-20 12:39:43 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-03-20 12:39:53 -0700 |
| commit | fdf8d471ed553fa802db784e1b049cd77e721ce2 (patch) | |
| tree | 696679f5a4bba794ed44a7face0cea9239a13840 /scripts | |
| parent | f528d9b82f77d58d4fc589fd2ea866d71cab4dfa (diff) | |
| download | vcpkg-fdf8d471ed553fa802db784e1b049cd77e721ce2.tar.gz vcpkg-fdf8d471ed553fa802db784e1b049cd77e721ce2.zip | |
[TLS 1.2] Add message for Powershell 5.1+
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index 73a3fc9ad..82718ecdc 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -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" } } |
