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

24 Commits

Author SHA1 Message Date
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
Tw93
66ad3b34ee chore: auto format code 2025-12-28 11:39:34 +00:00
Tw93
6aafa16573 Add SQLite database optimization with VACUUM 2025-12-28 19:35:43 +08:00
Tw93
f40603636c Remove redundant cleanup functions and simplify maintenance task output 2025-12-27 10:18:05 +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
f23ab89db0 Disable LaunchServices rebuild to prevent System Settings corruption 2025-12-20 22:55:17 +08:00
Tw93
25f0fff91d fix: Refine recent items clearing to target specific global lists and prevent accidental deletion 2025-12-18 19:05:33 +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
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
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
5974b09d6a feat: Add APFS snapshot cleanup, refine check messages, and optimize Homebrew health checks 2025-12-13 13:37:23 +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
6d2fdd7392 Supplemental Security Audit Report 2025-12-11 15:10:49 +08:00
Tw93
198591289f Spotlight cache cleaning moved to the optimize command 2025-12-10 10:02:49 +08:00
Tw93
78e6743666 Performance and speed optimization 2025-12-08 15:34:51 +08:00
Tw93
03610e34a5 Optimize the start speed of optimize 2025-12-06 20:57:08 +08:00
Tw93
074f447269 Move the system maintenance in the cleaning to optimize 2025-12-06 20:37:36 +08:00
Tw93
a92d352376 Safety and Reliability Improvements 2025-12-04 15:06:45 +08:00
Tw93
bb50a345b6 optimize code structure and reduce duplication 2025-12-02 15:24:19 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00