Resolves #226 by retrieving the common data directory for the runtime OS.
On Linux and macOS, we first look up XDG_DATA_HOME before defaulting to the common directories ($HOME/.local/share on Linux, $HOME/Library/Application Support on macOS).
On Windows, use the APPDATA environment variable, this should always be set.
Resolves #226 by retrieving the common data directory for the runtime OS.
On Linux and macOS, we first look up
XDG_DATA_HOME
before defaulting to the common directories ($HOME/.local/share
on Linux,$HOME/Library/Application Support
on macOS).On Windows, use the
APPDATA
environment variable, this should always be set.