#893 Creates non-hidden state directory

open
nobody
None
5
2014-03-06
2012-01-05
Anonymous
No

from:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653622

Hi!

This game creates a non-hidden state directory (~/triplea/) on the home
directory. It should create it as a dot dir on the home dir (preferably
following the XDG base dir spec [0]).

[0] <http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html>

The culprit seems to be:

src/games/strategy/engine/framework/GameRunner.java:getUserRootFolder()

The game should use $XDG_DATA_HOME/triplea or $HOME/.local/share/triplea if XDG_DATA_HOME is not set for user specific data and $XDG_CONFIG_HOME/triplea or $HOME/.config/triplea for configurations if $XDG_CONFIG_HOME is not set.

Discussion

  • Chris Duncan
    Chris Duncan
    2014-03-06

    I don't think we want to hide the directory