Files
netch/scripts/deps/geoip.ps1
Connection Refused 471926adc8 Update dependencies
2021-09-13 00:52:56 +08:00

16 lines
267 B
PowerShell

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