after deleting the config.ini file WinTune starts again, but Hosts Edit Window is now empty.
After closing WinTune above log.txt and config.ini is created and WinTune does not start again.
BTW, I opened the hosts file in Notepad4 and used Merge duplicate lines, maybe you want to implement this as well?
In case you need the hosts file to reproduce the issue, let me know how I can send it to you privately.
did more tests, it seems to be caused by the hosts file:
I messed with the hosts file while WinTune was running, now the app does no longer start:
[ config.ini ] [General] LastTab=8
[ log.txt ] ================= WinTune v2.5.3 ================= OSVersion :10.0.22631 Is64bitOS :1 InstallationType :Client EditionID :Professional
Time :20240818165204 Message :Can't create control. Extra : Stack :#1 (4161) : [Gui.Prototype.AddEdit] HostsEdit := g.AddEdit("h" PanelH-12 " w" PanelW-320-24 " -wrap x" sXCBT+6 " y" sYCBT+6 " vHostsEdit",Hosts) #1 (4161) : [BtnHostsEdit_Click] HostsEdit := g.AddEdit("h" PanelH-12 " w" PanelW-320-24 " -wrap x" sXCBT+6 " y" sYCBT+6 " vHostsEdit",Hosts) #1 (3385) : [NavItem_Click] CurrentTabCtrls := %Layout[g.NavSelected].Fn%(g, g.NavSelected) #1 (3356) : [CreateGui] NavItem_Click(g, IniRead("config.ini", "General", "LastTab", 1)) *#1 (5231) : [] CreateGui()
after deleting the config.ini file WinTune starts again, but Hosts Edit Window is now empty. After closing WinTune above log.txt and config.ini is created and WinTune does not start again.
BTW, I opened the hosts file in Notepad4 and used Merge duplicate lines, maybe you want to implement this as well? In case you need the hosts file to reproduce the issue, let me know how I can send it to you privately.
did more tests, it seems to be caused by the hosts file:
OK, here the steps to reproduce the issue: