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

84 Commits

Author SHA1 Message Date
Tw93
b044f1ced7 chore: auto format code 2025-12-28 01:40:26 +00: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
f2160b7cab chore: auto format code 2025-12-27 02:19:22 +00: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
ee9b34a4ca Merge branch 'main' of github.com:tw93/Mole 2025-12-26 20:45:09 +08:00
Tw93
2583f5000b Merge branch 'pr-162' 2025-12-26 20:41:44 +08:00
Tw93
257a15d381 chore: auto format code 2025-12-26 12:35:48 +00: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
cb538b5355 feat: optimize user file handling with early exit for chown, improve Darwin version detection fallback, and add comprehensive tests for user file and Darwin utilities 2025-12-26 15:01:12 +08:00
Tw93
40521b44e0 refactor: simplify log file initialization by consolidating directory and file creation. 2025-12-26 11:27:30 +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
80903729a3 chore: auto format code 2025-12-25 03:50:34 +00:00
Tw93
babab8e1a3 Fix the error judgment problem of uninstalling the silent writing software 2025-12-25 11:45:52 +08:00
Tw93
952b2eea61 fix: Enhance uninstall robustness with base64
compatibility and cleanup improvements

- Fix field count
  mismatch and base64 BSD/GNU compatibility
  - Add sensitive data detection and macOS defaults cleanup
  - Improve error handling and add compatibility tests
2025-12-25 11:24:12 +08:00
Tw93
ae82c83714 chore: auto format code 2025-12-22 03:24:39 +00: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
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
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
456215f2ff Fix the setting panel cleaning issue 2025-12-18 15:20:26 +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
ba8bc3dc8f chore: auto format code 2025-12-17 03:02:06 +00:00
Tw93
27205c653d feat: Boost UI performance with pure bash string width calculation and truncation, and add visual feedback for cache hits in uninstall scripts. 2025-12-17 11:01:15 +08:00
Tw93
3053e05ce4 chore: auto format code 2025-12-17 02:37:33 +00:00
Tw93
be1027f9c3 refine sudo requirement checks for uninstallation. 2025-12-17 10:37:03 +08:00
Tw93
019a0c63ff fix: Enhance sudo password input handling and expand tilde paths in maintenance. 2025-12-16 17:54:37 +08:00
Tw93
a77638da8d feat: Add com.apple.finder cache to cleaning, protect specific apps from critical cleaning, implement login item whitelist checks 2025-12-15 15:32:49 +08:00
Tw93
5a60a675a0 chore: auto format code 2025-12-14 00:53:52 +00: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
49d25625d5 chore: auto format code 2025-12-13 13:14:08 +00:00
Tw93
d5f467e8c4 feat: Add Apple Books bundle IDs to app protection 2025-12-13 21:13:28 +08:00
Tw93
109ab067fb chore: auto format code 2025-12-13 04:16:55 +00:00
Tw93
581f9398e0 feat: Add comprehensive protection for various VPN and proxy applications and bump version. 2025-12-13 12:16:25 +08: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
dbdc9cdb45 Adjust indentation of path safety checks and file processing within app protection. 2025-12-12 14:36:17 +08:00
Tw93
23b6dedd88 Merge branch 'main' of github.com:tw93/Mole 2025-12-12 14:36:00 +08:00
Tw93
fa75da07ca Add 'F' key to refresh paginated menus, clarify UI text for search and selection, and improve robustness of BOM file processing 2025-12-12 14:33:07 +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
0d4bbb54dc Re-enable vim directional keys 2025-12-11 16:34:10 +08:00
Tw93
69cd6290c0 chore: auto format code 2025-12-11 07:59:25 +00:00
Tw93
92f75985db feat(uninstall): enhance file discovery with sanitized names and plug-ins 2025-12-11 15:57:30 +08:00
Tw93
65743da349 Application scanning optimization 2025-12-10 14:40:14 +08:00