Function openmw_cfg::config_path

source ·
pub fn config_path() -> PathBuf
Expand description

Returns the path of openmw.cfg

Defaults:

  • Linux: ~/.config/openmw/openmw.cfg
  • macOS: ~/Library/Preferences/openmw/openmw.cfg
  • Windows: %Documents%/My Games/openmw/openmw.cfg

The OPENMW_CONFIG environment variable can be used to override this location.