Files
netch/Other/geoip/build.ps1
Connection Refused 63355965f3 [Other] Update scripts
2021-10-16 13:07:33 +08:00

13 lines
299 B
PowerShell

Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
try {
Invoke-WebRequest `
-Uri 'https://github.com/v2fly/geoip/releases/download/202110140026/geoip.dat' `
-OutFile 'geoip.dat'
}
catch {
exit 1
}
mv -Force 'geoip.dat' '..\release\geoip.dat'
exit 0