Skip to main content

settings_path

Function settings_path 

Source
pub(crate) fn settings_path(app: &App) -> PathBuf
Expand description

Resolve ${app_config_dir}/settings.json from the Tauri app handle.

Falls back to a temp-dir path in tests / non-standard environments so the app does not panic on startup.