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​>


以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号