Tauri appCacheDir
appCacheDir():
Promise<string>
返回应用缓存文件的建议目录的路径。 解析为 ,其中 是 中配置的值 tauri.bundle.identifier。${cacheDir}/${bundleIdentifier}bundleIdentifiertauri.conf.json
例
import { appCacheDir } from '@tauri-apps/api/path';
const appCacheDirPath = await appCacheDir();
Since: 1.2.0
Returns: Promise<string>