1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 22:04:43 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Tw93
694c55f73b fix: implement layered error tolerance and accurate cleanup reporting (#175 #176 #180)
- Fix safe_remove set -e trap in command substitution
  - Fix has_full_disk_access false positives and unknown state handling
  - Use set +e in perform_cleanup for graceful degradation
  - Track removal failures and only count actually deleted items (#180)
  - Add "Skipped X items (permission denied or in use)" notification
  - Improve spinner reliability with cooperative stop mechanism (#175)
2025-12-29 14:27:47 +08:00
Tw93
faac42cb62 Improve performance and process handling 2025-12-28 19:37:42 +08:00
Tw93
c00943489a Fix bash syntax error caused by newlines in variables (#173) 2025-12-28 14:58:54 +08:00
Tw93
c8e33931c2 refactor: centralize whitelist path checking with a new is_path_whitelisted helper function 2025-12-28 09:21:04 +08:00
Tw93
f5efc63bae feat: add whitelist protection for user and external volume Trash directories and include ~/.Trash in default whitelist 2025-12-27 13:04:19 +08:00
Tw93
71d0f2c3cc Migrate recent items and mail downloads cleanup to the user module and add scanning spinners 2025-12-27 10:17:39 +08:00
Tw93
22db4291ce chore: auto format code 2025-12-26 10:26:55 +00:00
Tw93
2c23d15eb7 Clean performance speed optimization 2025-12-26 18:25:38 +08:00
Tw93
d2dc68da90 feat: Enhance app protection with centralized critical component checks, improve UI string width calculation, refine analysis and cleaning logic, and add new tests. 2025-12-22 11:24:04 +08:00
Tw93
240202dfa9 refactor: Extract Apple Silicon cache cleaning to a shared function and improve optimization summary calculation. 2025-12-19 20:35:54 +08:00
Tw93
8eeed7d079 feat(clean, optimize): enhance recent items cleanup safety 2025-12-18 17:19:18 +08:00
Tw93
af03452f6d feat: Enhance clean and optimize operations with new configuration constants 2025-12-18 17:02:04 +08:00
Tw93
df7e5c8a04 feat: enhance system protection by adding critical path safeguards and removing problematic Spotlight and Finder/Dock cleanups. 2025-12-18 10:42:13 +08:00
Tw93
7e229bbf41 feat: Improve cleaning protection for system settings and control center, 2025-12-18 09:34:38 +08:00
Tw93
0427dbb6c0 feat: Expand critical system component protection in clean user logic and apply minor shell script fixes. 2025-12-17 20:42:25 +08:00
Tw93
278cc4a565 feat: Enhance clean protection by explicitly excluding critical system components and adding case-insensitive bundle ID checks. 2025-12-17 18:59:36 +08:00
Tw93
37c7b7e743 feat: Add AI agent documentation, expand critical application protection for AI/LLM tools, and enhance user cache cleaning safety 2025-12-14 08:53:19 +08:00
Tw93
85005bd9cf Remove orphaned Homebrew cask cleaning functionality, improve shell safety for cache cleanup, and bump version 2025-12-13 14:12:01 +08:00
Tw93
012c0b257c chore: auto format code 2025-12-13 05:38:36 +00:00
Tw93
da73cb901e feat: Add local APFS snapshot cleanup, optimize Homebrew health check, and enhance UI feedback for various operations 2025-12-13 13:37:41 +08:00
Tw93
045df37b7c chore: auto format code 2025-12-12 12:18:37 +00:00
Tw93
3601b14dc8 fix: Enhance system protection by explicitly preventing cleaning of critical background task and login item components 2025-12-12 20:17:47 +08:00
Tw93
bb22dc5d10 Parallelize status metric collection, enhance debug logging with a dedicated file and system info, update security audit for swap clearing, and remove orphaned cask cleaning. 2025-12-12 14:10:36 +08:00
Tw93
2d7932025f Parallel scanning and testing 2025-12-11 19:24:23 +08:00
Tw93
57819950bb Scan a large number of files for optimization 2025-12-11 16:41:17 +08:00
Tw93
198591289f Spotlight cache cleaning moved to the optimize command 2025-12-10 10:02:49 +08:00
Tw93
bd51e86072 Clean Spotlight user caches 2025-12-09 18:40:35 +08:00
Tw93
e7fd73302d More thoughtful consideration 2025-12-06 21:12:02 +08:00
Tw93
d4600f6623 More perfect cleaning 2025-12-06 12:53:16 +08:00
Tw93
c2abb639dc Continue to fix the exit issue 2025-12-06 09:17:58 +08:00
Tw93
3453b91672 More log path(s) discovered for potential cleaning 2025-12-05 23:59:52 +08:00
Tw93
19adf535f3 Code simplified to previous version 2025-12-05 23:47:02 +08:00
Tw93
9fd771bd8e More debug logs 2025-12-05 23:20:06 +08:00
Tw93
981f2c3885 Fix the exit problems encountered by users 2025-12-05 23:15:29 +08:00
Tw93
5b178b62a1 Enhanced protection 2025-12-05 20:09:15 +08:00
Tw93
f86fae9f30 Fix browser cleanup exit issue in pipefail mode 2025-12-05 19:51:40 +08:00
Tw93
b939442e92 Support debug 2025-12-05 17:16:46 +08:00
Tw93
5761fd87c8 Simpler and faster 2025-12-05 14:21:18 +08:00
Tw93
a92d352376 Safety and Reliability Improvements 2025-12-04 15:06:45 +08:00
Tw93
a5c5a8d7af Fix optimize compatibility at some times 2025-12-03 13:56:14 +08:00
Tw93
bb50a345b6 optimize code structure and reduce duplication 2025-12-02 15:24:19 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00