Ticket #330 (closed enhancement: fixed)

Opened 15 months ago

Last modified 14 months ago

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:

Description

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.

Attachments

Change History

Changed 15 months ago by gandalf

  • type changed from task to defect

Changed 15 months ago by gandalf

  • type changed from defect to enhancement

Changed 15 months ago by quinox

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

I noticed this myself yesterday, should definitely be fixed

Changed 14 months 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

Changed 14 months ago by quinox

  • status changed from new to closed
  • resolution set to fixed

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

Add/Change #330 (Use "$HOME" to store settings on Windows)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.