amoffat / focus

Prevents you from being on reddit or facebook all day
306 stars 19 forks source link

windows support #3

Open amoffat opened 12 years ago

amoffat commented 12 years ago

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)

edwinyzh commented 12 years ago

Yes, windows support, please!

amoffat commented 12 years ago

@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:

edwinyzh commented 12 years ago
kjagiello commented 12 years ago

You can run "ipconfig /all", but it prints all your network interfaces and I am not sure how to chose the right one.

jumoel commented 12 years ago

Where's the best place to put config files? (Do I need to edit the registry or something?)

%AppData%//

(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)

amoffat commented 12 years ago

Thanks guys