mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🎈 perf: 优化清理文件性能
This commit is contained in:
parent
d044916ce2
commit
5cba77387a
@ -903,7 +903,7 @@ export class tools extends plugin {
|
||||
const rTempFileLen = await deleteFolderRecursive(this.toolsConfig.defaultPath)
|
||||
e.reply(
|
||||
`数据统计:\n`+
|
||||
`- 当前清理了${dataDirectory}下垃总计:${dataClearFileLen} 个垃圾文件\n`+
|
||||
`- 当前清理了${dataDirectory}下总计:${dataClearFileLen} 个垃圾文件\n`+
|
||||
`- 当前清理了${ this.toolsConfig.defaultPath}下文件夹:${rTempFileLen} 个群的所有临时文件`
|
||||
);
|
||||
} catch (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user