Files
netch/scripts/deps/geoip.ps1
Connection Refused 87fe315c71 Update dependencies
2021-09-04 13:58:19 +08:00

16 lines
267 B
PowerShell

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