VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume/InitDataArea.h
diff options
context:
space:
mode:
authorDavid Foerster <david.foerster@informatik.hu-berlin.de>2016-03-31 12:36:21 +0200
committerDavid Foerster <david.foerster@informatik.hu-berlin.de>2016-03-31 12:36:21 +0200
commit7d7c09e7184214f4e05621dfc467f6e117b1411f (patch)
treed63b529e28e4bb83dcb714e028b78d7cb4718238 /src/ExpandVolume/InitDataArea.h
parent39eae0e4c3d4e392feffd19b4e3b9449534d5426 (diff)
downloadVeraCrypt-7d7c09e7184214f4e05621dfc467f6e117b1411f.tar.gz
VeraCrypt-7d7c09e7184214f4e05621dfc467f6e117b1411f.zip
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.
Diffstat (limited to 'src/ExpandVolume/InitDataArea.h')
0 files changed, 0 insertions, 0 deletions