Code Monkey home page Code Monkey logo

windows's Introduction

使用本项目前 请仔细阅读本README文件

Download Executable File

Build status Last update: Jan. 17th, 2018

下载地址:(v2.2.1)

如只需下载tool.exe请到release页面手动下载

OS type Minimun Supported Version
WorkStation Microsoft Windows XP Family
Server Microsoft Windows Server 2003 Family

Hosts Tool

这个工具可以帮助你全自动的更换 备份原来的hosts文件 所有麻烦的事情只需要打开一个程序就能搞定 如果你愿意,程序还可以作为服务安装随系统启动 每次开机后每隔30分钟会自动检测hosts文件的更新噢!

在此特别感谢@qwerty258为本程序提供了Visual Studio的工程文件

声明

作者弃坑了

警告

  1. 请不要删除# Copyright (c) 2017-2018, googlehosts members.(作为程序的识别位点) 否则 有可能发生不可预料的后果
  2. 如果先前没有使用本项目hosts文件 而使用了其他项目的hosts文件的 请重置hosts文件(具体方法看下方使用说明)后 再使用本程序

How to use?

修改hosts涉及到系统文件的修改,安装服务也有可能触发安全软件的提示,如有安全软件提示请放行通过.

main program file: tool.exe

  • 无参数运行tool.exe 用来更新hosts文件 如有更新 程序会备份原有的hosts文件
  • 运行choose.exe 来选择更多的运行选项

现有功能

  • 启动程序后,从指定的源自动更新hosts文件
  • 程序会保留先前的自定义hosts,如果您有使用其他的hosts,请在备份好自己自定义的hosts之后重置hosts文件
  • 可选的以服务启动,在后台自动更新hosts文件
  • 可选的以用户态模式(静默)开机启动,在后台自动更新hosts文件 (打开choose.exe后输入11按下回车)
  • 程序会留下一份更新备份,如出现问题可直接更改备份文件名还原
  • 程序可以直接重置hosts文件
  • 可选的在服务出现问题时,使用 Debug 模式进行监听服务的状态

注意事项

  1. 如果安装服务 程序会往%SystemRoot%下复制一个hoststools.exe文件用来作为服务启动的主程序
  2. 安装服务后 日志文件会保存在C:\Hosts_Tool_log.log下 您可以通过查看日志观察服务的工作状态
  3. 本程序一切有更改hosts文件的行为前都会先备份hosts文件。
  4. 请间隔一段时间后清理%SystemRoot%\system32\drivers\etc\文件夹 (程序加入了询问删除早期备份文件的功能)
  5. 如有任何疑问或bug反馈,请开新的issue (如是服务问题请附上日志文件)

License:

General Public License Version 3

windows's People

Contributors

lrinqvq avatar ir1d avatar bryant1410 avatar notly avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.