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

311 Commits

Author SHA1 Message Date
Tw93
3eccb7c094 feat: improve project clean module's common utility sourcing and bump version to 1.15.10 2025-12-29 20:26:16 +08:00
Tw93
fd95e2f3fc chore: auto format code 2025-12-29 11:38:50 +00:00
Tw93
6328bf158d feat(purge): smart project discovery and optimization 2025-12-29 19:38:14 +08:00
Tw93
bb83362195 feat(purge): add --paths option to configure scan directories
- Add lib/manage/purge_paths.sh for interactive path management
- Shows current paths status and opens editor for customization
- Update bin/purge.sh to handle --paths option
- Update README with new command
2025-12-29 19:23:54 +08:00
Tw93
bf36d3d6b6 chore: polish PR #197 and add Xcode Archives whitelist option
- Remove duplicate comment in project.sh
- Fix color code issue in purge.sh help message
- Add proper spacing after load_purge_config function
- Add shell syntax highlighting in README code block
- Add Xcode Archives to whitelist options (fixes #195)
2025-12-29 19:18:41 +08:00
Tw93
ad43c92fa1 chore: auto format code 2025-12-29 11:16:45 +00:00
Andrii Medvediev
7e62ed19f9 feat: add configurable purge paths (#197) 2025-12-29 19:16:16 +08:00
Tw93
c8b2e3691b chore: auto format code 2025-12-29 11:07:20 +00:00
Tw93
44e91be007 feat: add new system optimization tasks and implement orphaned startup item cleanup 2025-12-29 19:06:04 +08:00
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
8666c740cb workflow 2025-12-29 15:15:52 +08:00
Tw93
b852e91493 Optimize security fix prompts and auto-fix flow 2025-12-29 15:14:03 +08:00
Tw93
492f3f77d6 Adjust uninstall menu footer controls order 2025-12-29 15:13:54 +08:00
Tw93
beaaa98c9b Tweak macOS update detection and bump version 2025-12-29 15:13:37 +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
5f7df6235e enhance macOS update check with configurable timeout and debug logging 2025-12-29 08:20:27 +08:00
Tw93
f84b019694 Merge branch 'pr-182' 2025-12-29 08:09:02 +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
amanthanvi
9239571be1 Tighten macOS update check and add empty-output test 2025-12-28 11:18:12 -05:00
amanthanvi
62c783d5b3 Fix macOS update detection timeout 2025-12-28 10:49:00 -05:00
Tw93
6beca2f5fa fix: improve robustness of UI output commands by adding || true 2025-12-28 21:51:38 +08:00
Tw93
50e47a3cd9 chore: bump version to 1.15.3 and update the security audit report following core protection and file operation refinements. 2025-12-28 21:30:39 +08:00
Tw93
87feab7df3 Merge branch 'main' of github.com:tw93/Mole 2025-12-28 20:15:27 +08:00
Tw93
906a8e3927 chore: clarify spinner cleanup comment and disable shellcheck warning SC2329 2025-12-28 20:14:45 +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
6aafa16573 Add SQLite database optimization with VACUUM 2025-12-28 19:35:43 +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
79dc98f665 Add curl timeout and Ctrl+C interrupt support, fix swap variable 2025-12-28 14:59:09 +08:00
Tw93
db625ad64e Prevent potential newline issues in memory/disk stats 2025-12-28 14:59:03 +08:00
Tw93
c00943489a Fix bash syntax error caused by newlines in variables (#173) 2025-12-28 14:58:54 +08:00
Tw93
b044f1ced7 chore: auto format code 2025-12-28 01:40:26 +00:00
Tw93
504eda835f fix: Update firewall management to use socketfilterfw for improved reliability on macOS. 2025-12-28 09:39:53 +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
f40603636c Remove redundant cleanup functions and simplify maintenance task output 2025-12-27 10:18:05 +08:00
Tw93
9f51da3211 Improve sudo prompt interaction with safe line clearing for a cleaner UI 2025-12-27 10:17:57 +08:00
Tw93
b086278d26 Implement spinner stack management and ANSI terminal capability checks 2025-12-27 10:17:49 +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
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