mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
12 lines
267 B
PowerShell
12 lines
267 B
PowerShell
Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
|
|
|
try {
|
|
Invoke-WebRequest `
|
|
-Uri 'https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt' `
|
|
-OutFile '..\..\release\bin\chnip.txt'
|
|
}
|
|
catch {
|
|
exit 1
|
|
}
|
|
|
|
exit 0 |