Function tauri_sys::path::app_config_dir

source ·
pub async fn app_config_dir() -> Result<PathBuf, Error>
Expand description

Returns the path to the suggested directory for your app’s config files.

Resolves to ${configDir}/${bundleIdentifier}, where bundleIdentifier is the value tauri.bundle.identifier is configured in tauri.conf.json.

§Example

use tauri_sys::path::app_config_dir;

let app_config_dir_path = app_config_dir().await?;