Function tauri_sys::path::app_local_data_dir

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

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

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

§Example

use tauri_sys::path::app_local_data_dir;

let app_local_data_dir_path = app_local_data_dir().await?;