ppoffice / hozz Goto Github PK
View Code? Open in Web Editor NEW[Development indefinitely suspended] A better way to manage your hosts.
Home Page: http://ppoffice.github.io/Hozz
License: Other
[Development indefinitely suspended] A better way to manage your hosts.
Home Page: http://ppoffice.github.io/Hozz
License: Other
卡的帧数都不如扫雷。
任务管理器里内存占用 41M,说得过去,可是 CPU 占用一直 0% 并且无法点选任何东西是怎么回事?
后来我发现这个程序怎么用了,就是先激活窗口,点选你想看的 Hosts 标签,然后让这个程序失去焦点,再激活窗口就行了。
发现在Windows平台下,Hozz的数据文件储存在用户文件夹的.Hozz文件夹下,能否将其存储路径改为Hozz所在的目录下?因为有时切换不同的Windows系统时,总要频繁的导入,感觉不是很方便~
能否加入一个hosts格式化工具
可以为每组hosts打标签,相同标签的各组互斥,这样启用一组,同一标签的其它组自动失效,环境比较多的时候很有用。否则还不如写个脚本方便。
@ppoffice, I try to build your app from master branch, but i have only empty window
I have following commands flow:
git clone https://github.com/ppoffice/Hozz.git
cd Hozz
npm install
gulp
npm start
Did you have similar bug?
OS: Windows 10 x64
Hozz Current Version: 0.1.0
It keeps reminding me to update to the newest 0.1.3, but I just can't download the package via Hozz itself.
Plz upload the latest to BaiduYun or the homepage?
你好,请问图标是用什么工具做的啊?想加个功能,需要新增个图标,请问有空给个支持不?
每次都要删掉再添加一次才更新,上一个版本似乎没有这个问题
on ubuntu16.4
I can`t update software.
近来0.1.3版在32位Win10上启动时弹出窗口异常缓慢,点击程序设置窗口也是如此,且原有的状态栏图标变成了空白,不知何故?
I have to use chmod
to set it as executable after I download the package from here (Linux x64 version) and extracted the .tar.gz
package:
kevin@Arch ~/D/Hozz-linux-x64> ls
content_shell.pak Hozz icudtl.dat libgcrypt.so.11 libnode.so locales/ natives_blob.bin resources/
kevin@Arch ~/D/Hozz-linux-x64> chmod 755 Hozz
如题,
所以我建议能不能提供日志查看窗口,至少让我知道可能是因为什么原因,也许我能够治愈。
No Gui... is this a virus?
I can start on login through osx but it will open the full window, can we get it to just start the app with the statusbar indicator and nothing else? # @
win7,32位系统,打不开软件界面。查看任务管理器,有Hozz.exe进程,然后又消失。兼容性与权限都调了,还是没办法启动。请问是需要什么其他支持吗?
version 0.1.3
Hozz won't recognize multiple host name in one line which is a valid host file format
for example
127.0.0.1 localhost loopback
::1 localhost
are both valid, however "127.0.0.1 localhost loopback" line is red as it is not valid.
Thanks if you could help fix it.
Hi, I am using Hozz on Windows 10, build 16299.371. By default, it doesn't have permissions to write to Hosts file. It shows a warning at the bottom side that and shows an option "Grant Permissions". Clicking that option, ideally, it should open in elevated mode, however it seems that it is not working.
BTW, I am running it with Administrator rights and still playing with it..... :D
你的博客挂了维护下呗,想看文章233
Nothing happens when executing the Hozz.exe on Windows 7 Home Premium (x64). There's not even an error log or error message.
Hi,
The message that "You don't have permission to write to hosts file", won't go away. When I click on "Grant Permission" button, sometimes nothing happens (message goes away), sometimes I am asked for my password and then the message goes away.
But when I click anywhere, this message pops up.
I have not built from the code, I am using the stable version from website with version number 0.1.2
I have not looked into code at all but I am comfortable, so, let me know if you need any inputs from my end. Will try the latest build from master on my machine tonight.
Love the idea of this app.
只有关闭程序后重新打开才会更新地址,不知道是不是就是这样设计的?
Mac下自动更新始终不成功,我想手动下载core.zip,然后怎样操作?
点击设置不会显示,要关掉界面才出现settings 然后是检查更新失败说是A JavaScript error occurred in the main process Uncaught Exception : Error : Attempting to call a function in a renderer window that has been closed or released . Function provided here : mainjs : 13 : 3996 . at Browserwindow . ret ( ) CAUser simasami \ Download Hozz win 32x64 、 resources atom asarbrowserVibVP 21 at emit One ( even ts.js : 7713 ) at Browser Windowemit ( events.js : 169 : 7 )
Any chance for supporting wildcards?
127.0.0.1 *.example.local
127.0.0.1 *.app
移动后又缩回原样了。。
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/ppoffice/electron-sudo.git/'
Every time I select the "All" rule set I get asked to "Grant Permission". I keep granting permission but it doesn't seem to stop asking. I always launch the app with Admin privileges.
普通账户,
0.1.4点击获取权限没有弹出授权框
上一个版本没有此问题;
OSX El Capitan
The app started, asked for admin password, restarted and now doesn't appear anymore.
问题签名:
问题事件名称: APPCRASH
应用程序名: Hozz.exe
应用程序版本: 0.36.2.0
应用程序时间戳: 567cd902
故障模块名称: Hozz.exe
故障模块版本: 0.36.2.0
故障模块时间戳: 567cd902
异常代码: 80000003
异常偏移: 00000000002c2ca9
OS 版本: 6.1.7601.2.1.0.274.10
区域设置 ID: 2052
其他信息 1: bd98
其他信息 2: bd983ac51b814a0a627d08d906c743dc
其他信息 3: 337a
其他信息 4: 337ad6eee35f9e4fb4942c3412c0b10a
联机阅读隐私声明:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0804
如果无法获取联机隐私声明,请脱机阅读我们的隐私声明:
C:\windows\system32\zh-CN\erofflps.txt
请问这个问题可以解决吗?
My pc has not run Hozz before , and I used Hozz first time , but I can not run it . after double clicked Hozz.exe , there is nothing show out.
在https://github.com/ppoffice/Hozz/blob/master/gulpfile.js#L120。
看代码似乎是没有针对mac平台的执行文件进行upx压缩。这是遗漏吗?
It would be easy to allow pasting into a host file.
Manually writing IP addresses can be challenging.
win10 x64家庭版
始终显示没有写入系统hosts的权限,点击授予权限没有反应
以下为日志:
[2017-5-28 16:11:37.910]
Error: ENOENT: no such file or directory, open 'C:\Users\����\AppData\Local\Temp\batch-0.18028832785785198.bat'
at Error (native)
[2017-5-28 16:12:32.639]
Error: ENOENT: no such file or directory, open 'C:\Users\����\AppData\Local\Temp\batch-0.2084602036047727.bat'
at Error (native)
[2017-5-28 16:12:44.1]
Error: ENOENT: no such file or directory, open 'C:\Users\����\AppData\Local\Temp\batch-0.5196671718731523.bat'
at Error (native)
[2017-5-28 16:13:4.144]
Error: ENOENT: no such file or directory, open 'C:\Users\����\AppData\Local\Temp\batch-0.663841022644192.bat'
at Error (native)
为什么我什么都设置好了还是不能上外网呢?远程hosts地址填了https://raw.githubusercontent.com/racaljk/hosts/master/hosts
除了这个::1 localhost ip6-localhost ip6-loopback其它都是绿的,所以是为什么还不能上呢。。 @ppoffice
A host file supports a line like this
192.168.1.22 domain1.com domain2.com domain3.com
If i use this format in Hozz. The line turnes red.
Sometimes I don't want autosave the edit, for example...a simple accident and remove all of my hosts. I'd suggest that add save, undo, redo buttons (Yeah I know Ctrl+Z, but isn't friendly for others).
And also, ask for confirm when deleting a rule.
每次打开Hozz,都会用Hozz老的host配置自动替换掉电脑已有的host,但是电脑里面的host确实最新的,怎样让hozz打开,用电脑的host替换hozz内的host配置?
Some contents can not show in correct encoding.
以前的老版本今天提示有新版本,但是一直无法自动更新成功。而这又只有源码。
NOTE: Cacls is now deprecated, please use Icacls.
Icacls %windir%\System32\drivers\etc\hosts /grant "%username%":F
我尝试在一台 win7x64 的PC上运行 Hozz.exe,总是报错 “Electron 已停止工作”, 崩溃报告如下:
Version=1
EventType=APPCRASH
EventTime=131027070828741537
ReportType=2
Consent=1
ReportIdentifier=7a56c893-ec60-11e5-96eb-00235aafb8f2
IntegratorReportIdentifier=7a56c892-ec60-11e5-96eb-00235aafb8f2
Response.type=4
Sig[0].Name=应用程序名
Sig[0].Value=Hozz.exe
Sig[1].Name=应用程序版本
Sig[1].Value=0.36.2.0
Sig[2].Name=应用程序时间戳
Sig[2].Value=567cd902
Sig[3].Name=故障模块名称
Sig[3].Value=Hozz.exe
Sig[4].Name=故障模块版本
Sig[4].Value=0.36.2.0
Sig[5].Name=故障模块时间戳
Sig[5].Value=567cd902
Sig[6].Name=异常代码
Sig[6].Value=80000003
Sig[7].Name=异常偏移
Sig[7].Value=00000000002c2ca9
DynamicSig[1].Name=OS 版本
DynamicSig[1].Value=6.1.7601.2.1.0.256.1
DynamicSig[2].Name=区域设置 ID
DynamicSig[2].Value=2052
DynamicSig[22].Name=其他信息 1
DynamicSig[22].Value=bd98
DynamicSig[23].Name=其他信息 2
DynamicSig[23].Value=bd983ac51b814a0a627d08d906c743dc
DynamicSig[24].Name=其他信息 3
DynamicSig[24].Value=6e58
DynamicSig[25].Name=其他信息 4
DynamicSig[25].Value=6e584908b0dd16e50020ef03ef6e54ea
UI[2]=D:\greenSoft\Hozz-win32-x64\Hozz.exe
UI[3]=Electron 已停止工作
UI[4]=Windows 可以联机检查该问题的解决方案。
UI[5]=联机检查解决方案并关闭该程序
UI[6]=以后联机检查解决方案并关闭程序
UI[7]=关闭程序
LoadedModule[0]=D:\greenSoft\Hozz-win32-x64\Hozz.exe
LoadedModule[1]=G:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=G:\Windows\system32\kernel32.dll
LoadedModule[3]=G:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=G:\Windows\system32\ADVAPI32.dll
LoadedModule[5]=G:\Windows\system32\msvcrt.dll
LoadedModule[6]=G:\Windows\SYSTEM32\sechost.dll
LoadedModule[7]=G:\Windows\system32\RPCRT4.dll
LoadedModule[8]=G:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
LoadedModule[9]=G:\Windows\system32\GDI32.dll
LoadedModule[10]=G:\Windows\system32\USER32.dll
LoadedModule[11]=G:\Windows\system32\LPK.dll
LoadedModule[12]=G:\Windows\system32\USP10.dll
LoadedModule[13]=G:\Windows\system32\SHLWAPI.dll
LoadedModule[14]=G:\Windows\system32\COMDLG32.dll
LoadedModule[15]=G:\Windows\system32\SHELL32.dll
LoadedModule[16]=G:\Windows\system32\CRYPT32.dll
LoadedModule[17]=G:\Windows\system32\MSASN1.dll
LoadedModule[18]=G:\Windows\system32\d3d11.dll
LoadedModule[19]=G:\Windows\system32\dxgi.dll
LoadedModule[20]=G:\Windows\system32\VERSION.dll
LoadedModule[21]=G:\Windows\system32\dwmapi.dll
LoadedModule[22]=G:\Windows\system32\dbghelp.dll
LoadedModule[23]=G:\Windows\system32\dhcpcsvc.DLL
LoadedModule[24]=G:\Windows\system32\WS2_32.dll
LoadedModule[25]=G:\Windows\system32\NSI.dll
LoadedModule[26]=G:\Windows\system32\IMM32.dll
LoadedModule[27]=G:\Windows\system32\MSCTF.dll
LoadedModule[28]=G:\Windows\system32\IPHLPAPI.DLL
LoadedModule[29]=G:\Windows\system32\WINNSI.DLL
LoadedModule[30]=D:\greenSoft\Hozz-win32-x64\MSVCP120.dll
LoadedModule[31]=D:\greenSoft\Hozz-win32-x64\MSVCR120.dll
LoadedModule[32]=G:\Windows\system32\NETAPI32.dll
LoadedModule[33]=G:\Windows\system32\netutils.dll
LoadedModule[34]=G:\Windows\system32\srvcli.dll
LoadedModule[35]=G:\Windows\system32\wkscli.dll
LoadedModule[36]=D:\greenSoft\Hozz-win32-x64\node.dll
LoadedModule[37]=G:\Windows\system32\PSAPI.DLL
LoadedModule[38]=G:\Windows\system32\USERENV.dll
LoadedModule[39]=G:\Windows\system32\profapi.dll
LoadedModule[40]=G:\Windows\system32\WINMM.dll
LoadedModule[41]=G:\Windows\system32\ole32.dll
LoadedModule[42]=G:\Windows\system32\OLEACC.dll
LoadedModule[43]=G:\Windows\system32\OLEAUT32.dll
LoadedModule[44]=G:\Windows\system32\POWRPROF.dll
LoadedModule[45]=G:\Windows\system32\SETUPAPI.dll
LoadedModule[46]=G:\Windows\system32\CFGMGR32.dll
LoadedModule[47]=G:\Windows\system32\DEVOBJ.dll
LoadedModule[48]=G:\Windows\system32\Secur32.dll
LoadedModule[49]=G:\Windows\system32\SSPICLI.DLL
LoadedModule[50]=G:\Windows\system32\urlmon.dll
LoadedModule[51]=G:\Windows\system32\api-ms-win-downlevel-ole32-l1-1-0.dll
LoadedModule[52]=G:\Windows\system32\api-ms-win-downlevel-shlwapi-l1-1-0.dll
LoadedModule[53]=G:\Windows\system32\api-ms-win-downlevel-advapi32-l1-1-0.dll
LoadedModule[54]=G:\Windows\system32\api-ms-win-downlevel-user32-l1-1-0.dll
LoadedModule[55]=G:\Windows\system32\api-ms-win-downlevel-version-l1-1-0.dll
LoadedModule[56]=G:\Windows\system32\api-ms-win-downlevel-normaliz-l1-1-0.dll
LoadedModule[57]=G:\Windows\system32\normaliz.DLL
LoadedModule[58]=G:\Windows\system32\iertutil.dll
LoadedModule[59]=G:\Windows\system32\WININET.dll
LoadedModule[60]=G:\Windows\system32\WINHTTP.dll
LoadedModule[61]=G:\Windows\system32\webio.dll
LoadedModule[62]=G:\Windows\system32\WINSPOOL.DRV
LoadedModule[63]=G:\Windows\system32\WTSAPI32.dll
FriendlyEventName=已停止工作
ConsentKey=APPCRASH
AppName=Electron
AppPath=D:\greenSoft\Hozz-win32-x64\Hozz.exe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.