Function tauri::api::path::config_dir

source ·
pub fn config_dir() -> Option<PathBuf>
Expand description

Returns the path to the user’s config directory.

§Platform-specific

  • Linux: Resolves to $XDG_CONFIG_HOME or $HOME/.config.
  • macOS: Resolves to $HOME/Library/Application Support.
  • Windows: Resolves to {FOLDERID_RoamingAppData}.