Fix downloading the engine on Windows

This commit is contained in:
Mustafa Alperen Seki 2018-03-01 20:21:27 +03:00 committed by Paul Chote
parent 6b5c5bcd23
commit 88d1ce326b

View File

@ -329,6 +329,7 @@ if ($command -eq "all" -or $command -eq "clean")
$dlPath = Join-Path $dlPath (Split-Path -leaf $env:AUTOMATIC_ENGINE_TEMP_ARCHIVE_NAME)
$client = new-object System.Net.WebClient
[Net.ServicePointManager]::SecurityProtocol = 'Tls12'
$client.DownloadFile($url, $dlPath)
Add-Type -assembly "system.io.compression.filesystem"