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

38 Commits

Author SHA1 Message Date
Tw93
6dfd675417 refactor: standardize epoch time retrieval with get_epoch_seconds and ensure locale-independent string transformations. 2026-01-03 18:07:47 +08:00
Tw93
f98aab6840 refactor: simplify configuration by removing unused environment variables 2026-01-03 13:34:19 +08:00
Tw93
f0c9683048 feat: Add new system optimizations, refine existing tasks with safety checks, and update whitelisting options. 2025-12-30 15:44:52 +08:00
Tw93
44e91be007 feat: add new system optimization tasks and implement orphaned startup item cleanup 2025-12-29 19:06:04 +08:00
Tw93
beaaa98c9b Tweak macOS update detection and bump version 2025-12-29 15:13:37 +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
6aafa16573 Add SQLite database optimization with VACUUM 2025-12-28 19:35:43 +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
504eda835f fix: Update firewall management to use socketfilterfw for improved reliability on macOS. 2025-12-28 09:39:53 +08:00
Tw93
f945eecbc6 Sync health check definitions with the latest optimization task changes 2025-12-27 10:16:27 +08:00
Tw93
01dd879077 Standardize check icons and add internal section headers for better visual hierarchy 2025-12-27 10:16:17 +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
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
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
purofle
50806efc37 fix: correct boot_time parsing error (#130) 2025-12-16 17:43:44 +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
749ed2230b improve analyze scanning performance, UI responsiveness, symlink navigation 2025-12-12 15:01:17 +08: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
04ec4f9a62 Remove the parts that affect system settings and remove WiFi reset 2025-12-12 09:53:14 +08:00
Tw93
dc0b4fb59d fix: enforce LC_ALL=C for awk to ensure valid JSON number formatting regardless of user locale 2025-12-11 12:58:36 +08:00
Tw93
7e3f09ae7f fix: remove trailing space in json_escape to prevent unknown action errors 2025-12-11 12:55:27 +08:00
Tw93
161be5b951 Optimize the display effect 2025-12-10 10:42:33 +08:00
Tw93
198591289f Spotlight cache cleaning moved to the optimize command 2025-12-10 10:02:49 +08:00
Tw93
88c5f92ac4 format 2025-12-08 18:59:52 +08:00
Tw93
51decd1091 Optimize supports setting whitelist 2025-12-08 16:51:25 +08:00
Tw93
9e7fc41445 Enhanced optimization for better use 2025-12-08 15:40:39 +08:00
Tw93
78e6743666 Performance and speed optimization 2025-12-08 15:34:51 +08:00
Tw93
a92d352376 Safety and Reliability Improvements 2025-12-04 15:06:45 +08:00
Tw93
443b59d9c7 Grammar check and optimization 2025-12-02 17:02:14 +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