Skip to content

Commit

Permalink
changed the source for update-hosts.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
the0demiurge committed Dec 5, 2016
1 parent d6584ab commit eda8c6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windows/update-hosts/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ echo mkdir %TEMP%\hosts > %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo $client = new-object System.Net.WebClient >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo $client.DownloadFile('https://coding.net/u/Elaine_ni/p/hosts/git/raw/master/hosts.txt', '%TEMP%\hosts\hosts2') >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo $client.DownloadFile('https://raw.githubusercontent.com/racaljk/hosts/master/hosts', '%TEMP%\hosts\hosts3') >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo $client.DownloadFile('https://raw.githubusercontent.com/sy618/hosts/master/ADFQ', '%TEMP%\hosts\hosts1') >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo cat %TEMP%\hosts\* ^> %SystemRoot%\System32\drivers\etc\hosts >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1
echo rm -recurse %TEMP%\hosts >> %SystemRoot%\System32\drivers\etc\update-hosts.ps1

Expand Down

0 comments on commit eda8c6a

Please sign in to comment.