Fix TLS error on Win7.
This commit is contained in:
committed by
Paul Chote
parent
8b81078929
commit
c8644adc85
1
make.ps1
1
make.ps1
@@ -24,6 +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"
|
||||||
|
[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)
|
(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