Switch make.ps1 to downloading from our GeoIP data mirror.

This commit is contained in:
Paul Chote
2021-01-10 12:00:12 +00:00
committed by abcdefg30
parent 0cb25f1044
commit b1200b8078

View File

@@ -24,7 +24,7 @@ function All-Command
{
echo "Downloading IP2Location GeoIP database."
$target = Join-Path $pwd.ToString() "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP"
(New-Object System.Net.WebClient).DownloadFile("https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP", $target)
(New-Object System.Net.WebClient).DownloadFile("https://github.com/OpenRA/GeoIP-Database/releases/download/monthly/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP", $target)
}
}