mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
Add aiodns
This commit is contained in:
@@ -31,6 +31,7 @@ Remove-Item -Force data.zip
|
||||
Remove-Item -Force mode.zip
|
||||
Remove-Item -Force i18n.zip
|
||||
|
||||
..\scripts\download\aiodns.ps1 -OutputPath bin
|
||||
..\scripts\download\cloak.ps1 -OutputPath bin
|
||||
..\scripts\download\xray-core.ps1 -OutputPath bin
|
||||
|
||||
|
||||
10
scripts/download/aiodns.ps1
Normal file
10
scripts/download/aiodns.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
param([string]$OutputPath)
|
||||
$address="https://github.com/aiocloud/aiodns/releases/download/1.0.4/aiodns.bin"
|
||||
$domains="https://raw.githubusercontent.com/aiocloud/aiodns/master/aiodns.conf"
|
||||
|
||||
Invoke-WebRequest -Uri $address -OutFile aiodns.bin
|
||||
Invoke-WebRequest -Uri $domains -OutFile aiodns.conf
|
||||
|
||||
Move-Item -Force aiodns.bin $OutputPath
|
||||
Move-Item -Force aiodns.conf $OutputPath
|
||||
exit 0
|
||||
Reference in New Issue
Block a user