Modify

Ticket #330 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years 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

comment:1 Changed 3 years ago by gandalf

  • Type changed from task to defect

comment:2 Changed 3 years ago by gandalf

  • Type changed from defect to enhancement

comment:3 Changed 3 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 3 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 3 years 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'

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.