()
| 423 | |
| 424 | # 清理系统垃圾 |
| 425 | def ClearSystem(): |
| 426 | count = total = 0 |
| 427 | tmp_total, tmp_count = ClearMail() |
| 428 | count += tmp_count |
| 429 | total += tmp_total |
| 430 | print('=======================================================================') |
| 431 | tmp_total, tmp_count = ClearSession() |
| 432 | count += tmp_count |
| 433 | total += tmp_total |
| 434 | print('=======================================================================') |
| 435 | tmp_total, tmp_count = ClearOther() |
| 436 | count += tmp_count |
| 437 | total += tmp_total |
| 438 | print('=======================================================================') |
| 439 | print('\033[1;32m|-系统垃圾清理完成,共删除[' + str(count) + ']个文件,释放磁盘空间[' + ToSize(total) + ']\033[0m') |
| 440 | |
| 441 | |
| 442 | # 清理邮件日志 |
no test coverage detected