콘텐츠로 이동

appLocalDataDir

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/path · Kind Function

import { appLocalDataDir } from '@netwiv/api/path';

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.

function appLocalDataDir(): Promise<string>
import { appLocalDataDir } from '@netwiv/api/path';
const appLocalDataDirPath = await appLocalDataDir();

Upstream since 1.2.0


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.