Use TLS 1.2 in devInstall script.
This commit is contained in:
Родитель
baf3c66d49
Коммит
401e511d52
|
@ -125,6 +125,8 @@ function DownloadFileWebRequest (
|
|||
[string] $userAgent,
|
||||
[string] $expectedHash)
|
||||
{
|
||||
# Use TLS 1.2 because default TLS 1.0 isn't supported by GitHub now.
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
Write-Host "Downloading [$SourceFile], please be patient...."
|
||||
if (-not $Execute) {
|
||||
Write-Host "$message ** Running in DEMOMODE - no download performed"
|
||||
|
|
Загрузка…
Ссылка в новой задаче