From: SourceForge.net <no...@so...> - 2011-04-07 21:03:21
|
Bugs item #3066103, was opened at 2010-09-14 20:49 Message generated for change (Comment added) made by kiheru You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3066103&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: c-korn () Assigned to: Nobody/Anonymous (nobody) Summary: Save settings to $HOME/.config/stendhal Initial Comment: The corrent place to put config files in is $HOME/.config/stendhal. The attached patch fixes this. I currently apply the patch manually for each release on playdeb.net: http://www.playdeb.net/software/Stendhal ---------------------------------------------------------------------- >Comment By: Kimmo Rundelin (kiheru) Date: 2011-04-08 00:03 Message: I changed everything except Bootstrap to use stendhal.getGameFolder() (changing Bootstrap would break our updater, so I can not do that for now). I'll add an OS dependent check with backward compatibility once we can do changes to the updater again. Anyway, that hopefully makes packaging easier ---------------------------------------------------------------------- Comment By: c-korn () Date: 2010-09-18 00:14 Message: At least it would make my patch simpler if there was only one method which returns the path to the settings directory which is then at every place it is needed. As you can see it is generated on many places and I am not sure if I caught them all. You could also make a distinction between Linux and Windows there. ---------------------------------------------------------------------- Comment By: Kimmo Rundelin (kiheru) Date: 2010-09-16 12:53 Message: I think it can't be done this simple (though I'd personally prefer it moved to a .dot directory from filling my home) 1. We need to support the existing installations. Thus the client should check ~/stendhal first in any case. 2. We support more operating systems than just linux. For windows the officially appropriate place to save configurations is probably the registry, but I doubt we'll ever do that. In any case, the configuration file needs to be in a place that can be explained to users that are not particularly adept with computers. The current situation is bad enough due to the place not being constant in different windows versions. I have no idea what's the correct behavior for macs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3066103&group_id=1111 |