Fix downloading the engine on Windows
This commit is contained in:
parent
6b5c5bcd23
commit
88d1ce326b
1
make.ps1
1
make.ps1
@ -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)
|
$dlPath = Join-Path $dlPath (Split-Path -leaf $env:AUTOMATIC_ENGINE_TEMP_ARCHIVE_NAME)
|
||||||
|
|
||||||
$client = new-object System.Net.WebClient
|
$client = new-object System.Net.WebClient
|
||||||
|
[Net.ServicePointManager]::SecurityProtocol = 'Tls12'
|
||||||
$client.DownloadFile($url, $dlPath)
|
$client.DownloadFile($url, $dlPath)
|
||||||
|
|
||||||
Add-Type -assembly "system.io.compression.filesystem"
|
Add-Type -assembly "system.io.compression.filesystem"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user