Tauri appCacheDir
2024-02-04 13:52 更新
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>
以上内容是否对您有帮助:

免费 AI IDE


更多建议: