Tw93
56c5fe08d2
Remove some useless comments
2025-12-29 15:38:30 +08:00
Tw93
ae3889eb34
Simplify the content deleted by the system
2025-12-29 15:34:35 +08:00
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
b67204f959
feat: remove SQLite vacuum optimization, enhance CJK/emoji width calculation, and improve system cleanup and UI feedback.
2025-12-29 00:29:42 +08:00
Hensell
23479c61bd
feat: add .dart_tool to project purge targets and disk analyzer ( #179 )
2025-12-28 20:12:22 +08:00
Tw93
ffce5aeb2a
chore: auto format code
2025-12-28 12:11:02 +00:00
Tw93
ff6f288c9b
fix: replace pgrep with tmutil status for more accurate Time Machine backup detection and add new tests for this logic.
2025-12-28 20:10:16 +08:00
Tw93
66ad3b34ee
chore: auto format code
2025-12-28 11:39:34 +00:00
Tw93
faac42cb62
Improve performance and process handling
2025-12-28 19:37:42 +08:00
Tw93
e7546d762b
Add deep system cache cleaning features
...
- Clean memory exception reports (can save 1-2GB)
- Clean diagnostic tracev3 logs with 30-day retention
- Clean core symbolication cache when >1GB with timeout protection
- Clean Aliyun/DingTalk security component logs and caches
- Use standard cleanup functions with proper validation
2025-12-28 19:35:57 +08:00
Tw93
52d50a0a80
Improve spinner subprocess and trap cleanup handling
2025-12-28 19:35:29 +08:00
Tw93
fe3ddd1f74
Remove Raycast cache cleaning to protect clipboard history ( #174 )
2025-12-28 14:59:23 +08:00
Tw93
99e9fc4cb3
Add immediate feedback for system cache cleaning
2025-12-28 14:59:17 +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
f2160b7cab
chore: auto format code
2025-12-27 02:19:22 +00: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
4d00794b04
Add progress spinners to deep system cleanup and Time Machine checks
2025-12-27 10:17:28 +08:00
Tw93
749d73b1b9
Add spinners to project artifact cleaning and update navigation icons
2025-12-27 10:17:22 +08:00
Tw93
d17c9efe47
Add progress spinners to developer tool cleanup task
2025-12-27 10:17:05 +08:00
Tw93
d2f61973c3
Add spinners to cache cleaning and optimize development project detection
2025-12-27 10:16:58 +08:00
Tw93
50c1b0146d
Update output icons for Homebrew cleanup to match the new design system
2025-12-27 10:16:52 +08:00
Tw93
6323a45f37
Implement caching for installed application scanning to improve performance and add progress spinners
2025-12-27 10:16:42 +08:00
Tw93
bd832b9854
Add progress spinners to application cache scanning and cleaning
2025-12-27 10:16:35 +08:00
Tw93
2583f5000b
Merge branch 'pr-162'
2025-12-26 20:41:44 +08:00
Tw93
a7c989588e
improve code quality and fix signal handling
2025-12-26 20:34:38 +08:00
Ruben Nogueira
21bf7392c9
feat: legcord
2025-12-26 11:58:37 +00: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
27f57bd361
Merge branch 'main' of github.com:tw93/Mole
2025-12-26 12:55:12 +08:00
Kwaku Biney
f9309bae01
improv: prompt user when Docker daemon not running ( #155 )
...
Signed-off-by: kwakubiney <kebiney@hotmail.com >
2025-12-26 12:54:39 +08:00
Tw93
428fc86f66
refactor: streamline pnpm cache cleaning by adjusting description and removing redundant store paths.
2025-12-26 12:49:56 +08:00
Tw93
2c5253736b
chore: auto format code
2025-12-26 03:46:26 +00:00
Ruben Nogueira
4163fab312
feat: pnpm clean ( #156 )
...
* feat: pnpm clean
* fix: pnpm use prune
2025-12-26 11:46:00 +08:00
Luke Bullimore
785032635a
feat: harden user file handling and gate LaunchServices rebuild ( #159 )
...
- add ensure_user_dir/ensure_user_file helpers in lib/core/base.sh, including
sudo-aware ownership correction under the invoking user’s home
- use the helpers across clean/optimize/purge/uninstall/whitelist to create
cache and export files safely (no naked mkdir/touch), including log files and
dry-run exports
- ensure purge stats/count files and update message caches are pre-created with
safe permissions
- add Darwin version helpers and skip LaunchServices/dyld rebuild on macOS 15+,
keeping the existing corruption protection for earlier versions
- guard brew cache timestamp writes and TCC permission flags with safe file
creation to avoid root-owned artifacts
2025-12-26 10:54:56 +08:00
Nathan Broadbent
f838e9517d
fix: use BSD stat explicitly to avoid GNU coreutils conflict ( #160 )
2025-12-26 10:43:18 +08:00
Tw93
6d66465447
refactor: Improve shell array expansion robustness in cleanup functions
2025-12-23 09:55:18 +08:00
Tw93
9a942a2770
feat: Add configurable project cleanup depth, refine interactive menu display, and sanitize uninstall app names.
2025-12-22 18:53:48 +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
d747ff43d3
fix: Remove local declaration for scan_pids and scan_temps to ensure accessibility by the cleanup_scan trap.
2025-12-20 22:30:32 +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
c1784f7aa4
refactor: improve clean item removal with safe_remove
2025-12-18 17:38:37 +08:00
Tw93
79e40b9c91
docs: Improve clarity and conciseness of comments and documentation
2025-12-18 17: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
fccc589fbd
chore: auto format code
2025-12-18 06:17:29 +00:00
Tw93
9d72eab95a
feat: add interactive purge command with comprehensive tests
2025-12-18 14:16:56 +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