From c8644adc85fcf6b794e86b81563b3bce9f6df705 Mon Sep 17 00:00:00 2001 From: pizzaoverhead Date: Tue, 23 Feb 2021 14:12:32 +0000 Subject: [PATCH] Fix TLS error on Win7. --- make.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/make.ps1 b/make.ps1 index 6f4d83b292..43818235c3 100644 --- a/make.ps1 +++ b/make.ps1 @@ -24,6 +24,7 @@ function All-Command { echo "Downloading IP2Location GeoIP database." $target = Join-Path $pwd.ToString() "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP" + [Net.ServicePointManager]::SecurityProtocol = 'Tls12' (New-Object System.Net.WebClient).DownloadFile("https://github.com/OpenRA/GeoIP-Database/releases/download/monthly/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP", $target) } }