Skip to content
Tauri

appLocalDataDir

appLocalDataDir(): Promise<string>

Defined in: path.ts:159

Returns the path to the suggested directory for your app’s local data files. Resolves to ${localDataDir}/${bundleIdentifier}, where bundleIdentifier is the identifier value configured in tauri.conf.json.

Promise<string>

import { appLocalDataDir } from '@tauri-apps/api/path';
const appLocalDataDirPath = await appLocalDataDir();

1.2.0


© 2025 Tauri Contributors. CC-BY / MIT