网站首页
编程语言
数据库
系统相关
其他分享
编程问答
deletePath
2024-08-19
清除 Electron 中的缓存数据
Electron将其缓存存储在以下文件夹中:window:C:\Users<user>\AppData\Roaming<yourAppName>\CacheLinux:/home//.config//Cache操作系统:/Users//Library/ApplicationSupport//Cacheletcache=app.getPath('cache');//获取缓存的路径constcachePath=path.