Add chnip.ps1

This commit is contained in:
Netch
2021-08-14 05:08:08 +08:00
parent 134a3726fe
commit 5c99396553

16
scripts/deps/chnip.ps1 Normal file
View File

@@ -0,0 +1,16 @@
param (
[string]
$OutputPath
)
try {
Invoke-WebRequest `
-Uri 'https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt' `
-OutFile 'chnip.txt'
}
catch {
exit 1
}
mv -Force 'chnip.txt' $OutputPath
exit 0