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

23 Commits

Author SHA1 Message Date
Tw93
504eda835f fix: Update firewall management to use socketfilterfw for improved reliability on macOS. 2025-12-28 09:39:53 +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
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
Tw93
f8765ee3d3 feat: optimize application scanning performance, improve multi-selection robustness 2025-12-22 09:46:10 +08:00
Tw93
b3b2a83613 feat: add support for custom protected paths and update whitelist UI with config path and examples 2025-12-21 20:59:45 +08:00
Tw93
7e3daabcfb feat: Enhance file deletion safety with path protection, streamline update prompts, and remove automated Homebrew update checks. 2025-12-18 20:17:03 +08: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
694f5e76db chore: auto format code 2025-12-17 03:57:08 +00:00
Tw93
a667a1a777 feat: Bump version to 1.13.5, enhance show_version output, optimize software update checks, and add Touch ID for sudo as a security fix. 2025-12-17 11:56:39 +08:00
Tw93
bde4e16a43 update 2025-12-16 18:03:14 +08: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
5456d60876 chore: auto format code 2025-12-12 06:12:13 +00:00
Tw93
0f701f7711 Refactor and simplify cleanup and optimization tasks, update health checks, and add debug logging tests. 2025-12-12 14:10:55 +08:00
Tw93
198591289f Spotlight cache cleaning moved to the optimize command 2025-12-10 10:02:49 +08:00
Tw93
4ff8c3afa3 Fix support for BSD and GNU mktemp 2025-12-10 10:02:27 +08:00
Tw93
88c5f92ac4 format 2025-12-08 18:59:52 +08:00
Tw93
2386701897 Fix search problems and best practices 2025-12-08 17:40:54 +08:00
Tw93
51decd1091 Optimize supports setting whitelist 2025-12-08 16:51:25 +08:00
Tw93
78e6743666 Performance and speed optimization 2025-12-08 15:34:51 +08:00
Tw93
36c993ec1c Fix the system update check problem 2025-12-04 17:52:19 +08:00
Tw93
443b59d9c7 Grammar check and optimization 2025-12-02 17:02:14 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00