Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Issue : racaljk/hosts#802
Browse files Browse the repository at this point in the history
* Delete unavaliable link.
* Update download link.
  • Loading branch information
Too-Naive committed Nov 15, 2016
1 parent 35e1e6b commit 0c969ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# Download Executable File

[![Build status](https://ci.appveyor.com/api/projects/status/8aya86796ipmuwr2/branch/master?svg=true)](https://ci.appveyor.com/project/Too-Naive/windows/branch/master)
Last update: Oct. 28th, 2016
Last update: Nov. 15th, 2016

#### 下载地址:(v2.1.18)
#### 下载地址:(v2.1.19)

- zip Package (Include `tool.exe` and `choose.exe`)
- [点我来下载](https://coding.net/u/scaffrey/p/hosts/git/raw/master/tools/windows.zip)
- [点我来下载](https://git.io/vX1Pz)

如只需下载tool.exe请到[release](https://github.com/HostsTools/Windows/releases)页面手动下载

Expand Down
6 changes: 3 additions & 3 deletions tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

//Hosts file web address set
#define hostsfile _T("https://raw.githubusercontent.com/racaljk/hosts/master/hosts")
#define hostsfile1 _T("https://coding.net/u/scaffrey/p/hosts/git/raw/master/hosts")
//#define hostsfile1 _T("https://coding.net/u/scaffrey/p/hosts/git/raw/master/hosts")

#ifdef _LOCAL
#undef hostsfile
Expand All @@ -56,7 +56,7 @@
#define objectwebsite _T("https:\x2f\x2fgithub.com/HostsTools/Windows")
//end.

#define ConsoleTitle _T("racaljk-host tool v2.1.18 Build time:Oct. 28th, '16")
#define ConsoleTitle _T("racaljk-host tool v2.1.19 Build time:Nov. 15th, '16")

#define CASE(x,y) case x : y; break;
#define DEBUGCASE(x) CASE(x,___debug_point_reset(x))
Expand Down Expand Up @@ -871,7 +871,7 @@ DWORD __stdcall NormalEntry(LPVOID){
if (!bIsServiceMode) _tprintf(_T(" Step1:Download hosts file..."));
//download
if (bIsServiceMode) if (request_client) ___pipesendmsg(_T("Download files\n"));
for (int errcunt=0;(!Func_Download(hostsfile1,DownLocated)&&
for (int errcunt=0;(//!Func_Download(hostsfile1,DownLocated)&&
!Func_Download(hostsfile,DownLocated));errcunt++)
if (errcunt>2) THROWERR(_T("DownLoad hosts file Error!"));
else if (!bIsServiceMode) {
Expand Down

0 comments on commit 0c969ae

Please sign in to comment.