focus
focus copied to clipboard
windows support
it should work in theory, except for the paths of config files, and how focus.py knows about the other nameservers to fail over to (which is gotten on linux by scraping /etc/resolv.conf)
Yes, windows support, please!
@edwinyzh cool, I'll give it a shot :)
I'm a noob at windows development, so if you (or anyone reading this) has any answers to following, that would help me out a lot:
- Where's the best place to put config files? (Do I need to edit the registry or something?)
- I thought I had more than one question
- Can you store the configuration files in the same folder as focus.py? Don't mess with the Windows registry, it's a bad OS design IMHO :)
- I thought you had more than one question :)
You can run "ipconfig /all", but it prints all your network interfaces and I am not sure how to chose the right one.
Where's the best place to put config files? (Do I need to edit the registry or something?)
%AppData%/<MyCompany>/<MyApp>
(http://blogs.msdn.com/b/patricka/archive/2010/03/18/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions.aspx)
Thanks guys