feat: 练度统计

This commit is contained in:
bietiaop 2024-07-31 23:20:24 +08:00
parent b44c9caa47
commit cb9c31f27c
15 changed files with 845 additions and 36 deletions

View file

@ -142,7 +142,7 @@ export class Panel extends ZZZPlugin {
if (!this.e.isMaster) return false;
await this.reply('【注意】正在删除所有资源图片,后续使用需要重新下载!');
if (fs.existsSync(imageResourcesPath)) {
fs.rmdirSync(imageResourcesPath, { recursive: true });
fs.rmSync(imageResourcesPath, { recursive: true });
}
await this.reply('资源图片已删除!');
}