Switch make.ps1 to downloading from our GeoIP data mirror.
This commit is contained in:
2
make.ps1
2
make.ps1
@@ -24,7 +24,7 @@ function All-Command
|
|||||||
{
|
{
|
||||||
echo "Downloading IP2Location GeoIP database."
|
echo "Downloading IP2Location GeoIP database."
|
||||||
$target = Join-Path $pwd.ToString() "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP"
|
$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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user