close Warning: Failed to sync with repository "(default)": [Errno 12] Cannot allocate memory; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.

Opened 11 years ago

Closed 11 years ago

#330 closed enhancement (fixed)

Use "$HOME" to store settings on Windows

Reported by: gandalf Owned by: quinox
Priority: major Milestone: Release 1.2.11
Component: nicotine Version: 1.2.10
Keywords: windows Cc:


Currently all apps configuration is stored in installdir.

This causes two problems:

  • On upgrade or uninstall, all settings are lost
  • You can have multiple users running nicotine with different settings

I think we should use Windows standard pathes for it.
It may looks like C:\Document and Settings\Username\ on XP, or something like C:\Users\username on Vista.

We will have to figure out out to guess this within Python.

Change History (5)

comment:1 Changed 11 years ago by gandalf

Type: taskdefect

comment:2 Changed 11 years ago by gandalf

Type: defectenhancement

comment:3 Changed 11 years ago by quinox

I'm sure there are better ways than guessing ;)

I noticed this myself yesterday, should definitely be fixed

comment:4 Changed 11 years ago by quinox

I've updated the code with r841 - it will now use %APPDATA% if possible, otherwise it falls back to the old behaviour. Needs testing

comment:5 Changed 11 years ago by quinox

Resolution: fixed
Status: newclosed

So far we haven't received any complains, marking this as 'implemented'

Note: See TracTickets for help on using tickets.