windows support #3

Open
amoffat opened this Issue May 7, 2012 · 6 comments

Projects

None yet

4 participants

@amoffat
Owner

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

Yes, windows support, please!

@amoffat
Owner

@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
@edwinyzh
  • 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 :)
@kjagiello

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

@jumoel

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)

@amoffat
Owner

Thanks guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment