Files
netch/scripts/deps/geoip.ps1
2021-10-03 18:28:00 +08:00

16 lines
267 B
PowerShell

param (
[string]
$OutputPath
)
try {
Invoke-WebRequest `
-Uri 'https://github.com/v2fly/geoip/releases/download/202109300030/geoip.dat' `
-OutFile 'geoip.dat'
}
catch {
exit 1
}
mv -Force 'geoip.dat' $OutputPath
exit 0