Expand description
Per-OS application directories, following the XDG Base Directory spec on
every platform — including macOS, so configuration lives at the
familiar ~/.config/openlogi/ rather than macOS’s
~/Library/Application Support/.
| kind | env override | default |
|---|---|---|
| config | $XDG_CONFIG_HOME | ~/.config/openlogi |
| data | $XDG_DATA_HOME | ~/.local/share/openlogi |
On Windows $HOME falls back to %USERPROFILE%, so paths resolve to
%USERPROFILE%\.config\openlogi etc. — best-effort until a real Windows
port lands.
Enums§
Functions§
- config_
dir - Directory holding the user’s
config.toml. - config_
path - Full path to the user config file.
- data_
dir - Directory for downloaded application data; the device-render asset cache
lives under
data_dir()/assets.