mirror of
https://github.com/netchx/netch.git
synced 2026-04-03 19:35:10 +08:00
Update download.ps1
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
param([string]$OutputPath)
|
||||
$name="ck-client.exe"
|
||||
$address="https://github.com/cbeuw/Cloak/releases/download/v2.5.4/ck-client-windows-amd64-v2.5.4.exe"
|
||||
|
||||
Invoke-WebRequest -Uri $address -OutFile ck-client.exe
|
||||
Invoke-WebRequest -Uri $address -OutFile $name
|
||||
|
||||
Move-Item -Force ck-client.exe $OutputPath
|
||||
Move-Item -Force $name $OutputPath
|
||||
exit 0
|
||||
@@ -1,7 +1,8 @@
|
||||
param([string]$OutputPath)
|
||||
$name="geoip.dat"
|
||||
$address="https://github.com/v2fly/geoip/releases/download/202107080024/geoip.dat"
|
||||
|
||||
Invoke-WebRequest -Uri $address -OutFile geoip.dat
|
||||
Invoke-WebRequest -Uri $address -OutFile $name
|
||||
|
||||
Move-Item -Force geoip.dat $OutputPath
|
||||
Move-Item -Force $name $OutputPath
|
||||
exit 0
|
||||
@@ -1,7 +1,8 @@
|
||||
param([string]$OutputPath)
|
||||
$name="geosite.dat"
|
||||
$address="https://github.com/v2fly/domain-list-community/releases/download/20210709152606/dlc.dat"
|
||||
|
||||
Invoke-WebRequest -Uri $address -OutFile geosite.dat
|
||||
Invoke-WebRequest -Uri $address -OutFile $name
|
||||
|
||||
Move-Item -Force geosite.dat $OutputPath
|
||||
Move-Item -Force $name $OutputPath
|
||||
exit 0
|
||||
Reference in New Issue
Block a user