Commit Graph
4 Commits
Author SHA1 Message Date
David Foerster 0c51cfa5f6 Reset bogus executable permissions 2016-05-01 23:29:43 +02:00
David Foerster af327b49aa Use wx-provided wrapper around *getenv() 2016-04-01 08:29:17 +02:00
David Foerster 7d7c09e718 Use XDG_CONFIG_HOME to determine the path of the configuration
Adhere to XDG Desktop Specification and use the environment variable
XDG_CONFIG_HOME to determine location of configuration files on *all*
platforms. If it is unset or empty resort to platform-specific defaults.

On Windows and OS X, `wxStandardPaths` provides correct defaults (equal
to the previous hard-coded paths) but on Linux and other Unices
`~/.config/appinfo` would be better than `~/.appinfo`. This means we
treat those platforms as a special case. It also means that we may need
to fall back to the legacy location if it exists but the new location
doesn't.
2016-03-31 12:36:21 +02:00
David Foerster 39eae0e4c3 Remove some trailing whitespace 2016-03-31 12:24:41 +02:00