focus icon indicating copy to clipboard operation
focus copied to clipboard

windows support

Open amoffat opened this issue 12 years ago • 6 comments

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)

amoffat avatar May 07 '12 18:05 amoffat

Yes, windows support, please!

edwinyzh avatar May 17 '12 03:05 edwinyzh

@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

amoffat avatar May 17 '12 06:05 amoffat

  • 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 :)

edwinyzh avatar May 17 '12 08:05 edwinyzh

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

kjagiello avatar May 17 '12 22:05 kjagiello

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)

jumoel avatar May 21 '12 10:05 jumoel

Thanks guys

amoffat avatar May 21 '12 15:05 amoffat