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
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
611254848d
chore: auto format code
2025-12-17 12:36:26 +00:00
Tw93
34bdd14a6f
feat: add purge command to clean project build artifacts and update clean dry-run message.
2025-12-17 20:35:45 +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
70ce2a41c5
chore: Remove Rust documentation cache cleaning
2025-12-13 15:01:30 +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
67a8e83511
chore: Exclude JetBrains caches from cleaning
2025-12-12 16:04:38 +08:00
Tw93
5456d60876
chore: auto format code
2025-12-12 06:12:13 +00: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
80358a6c91
Fix scan error
2025-12-11 16:18:49 +08:00
Tw93
9514b54554
chore: auto format code
2025-12-10 06:40:45 +00:00
Tw93
65743da349
Application scanning optimization
2025-12-10 14:40:14 +08:00
Tw93
198591289f
Spotlight cache cleaning moved to the optimize command
2025-12-10 10:02:49 +08:00
Tw93
bda09e0a60
format
2025-12-09 18:42:32 +08:00
Tw93
bd51e86072
Clean Spotlight user caches
2025-12-09 18:40:35 +08:00
Tw93
f364065740
App scan timeout fix
2025-12-09 18:40:21 +08:00
Tw93
03385c98bc
Safety reinforcement
2025-12-08 17:50:46 +08:00
Tw93
a1609e633e
Scanning application acceleration
2025-12-08 15:47:04 +08:00
Tw93
78e6743666
Performance and speed optimization
2025-12-08 15:34:51 +08:00
Tw93
e7fd73302d
More thoughtful consideration
2025-12-06 21:12:02 +08:00
Tw93
1b2da97032
Log cleaning does not take into account time
2025-12-06 20:46:25 +08:00
Tw93
074f447269
Move the system maintenance in the cleaning to optimize
2025-12-06 20:37:36 +08:00
Tw93
8fa3a2c9c5
Clean up and calculate more correctly.
2025-12-06 20:28:49 +08:00