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

20 Commits

Author SHA1 Message Date
Tw93
50e47a3cd9 chore: bump version to 1.15.3 and update the security audit report following core protection and file operation refinements. 2025-12-28 21:30:39 +08:00
Tw93
f2160b7cab chore: auto format code 2025-12-27 02:19:22 +00:00
Tw93
b086278d26 Implement spinner stack management and ANSI terminal capability checks 2025-12-27 10:17:49 +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
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
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
79e40b9c91 docs: Improve clarity and conciseness of comments and documentation 2025-12-18 17:35:54 +08:00
Tw93
af03452f6d feat: Enhance clean and optimize operations with new configuration constants 2025-12-18 17:02:04 +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
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
67a8e83511 chore: Exclude JetBrains caches from cleaning 2025-12-12 16:04:38 +08:00
github-actions[bot]
5b73e4ffad chore: auto format code 2025-12-10 03:53:17 +00:00
Tw93
def494b282 Christmas eggs 2025-12-10 10:27:45 +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
03385c98bc Safety reinforcement 2025-12-08 17:50:46 +08:00
Tw93
51decd1091 Optimize supports setting whitelist 2025-12-08 16:51:25 +08:00
Tw93
80e3be710b Restructure common split content 2025-12-08 15:33:52 +08:00