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

270 Commits

Author SHA1 Message Date
Tw93
e186086578 Fix handing issue on macOS Sequoia after completing 1 task (#291) 2026-01-11 08:11:43 +08:00
Tw93
d45423df94 fix issue with mo remove #289 2026-01-10 20:08:47 +08:00
Tw93
6be1915db2 1.20.0 2026-01-08 16:25:32 +08:00
Tw93
c871d1ada0 chore: auto format code 2026-01-05 03:03:26 +00:00
Tw93
d9facc347d fix: ensure version extraction processes only the first line of output 2026-01-05 11:01:23 +08:00
Tw93
9236f45229 1.19.0 2026-01-05 10:43:56 +08:00
Tw93
ad42266b09 refactor: rename installers command to installer across commands, script, and documentation. 2026-01-04 10:23:23 +08:00
Tw93
4680982ea1 Merge pull request #240 from JackPhallen/feat/installers-clean
feat: Create utility to find stale app installers
2026-01-04 10:12:00 +08:00
Jack Phallen
a2f071fd48 feat: Create utility to find stale app installers 2026-01-03 10:00:57 -08:00
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
6c8c87bef6 refactor: remove Christmas seasonal feature 2026-01-02 19:26:22 +08:00
Tw93
115e2d3ef1 1.18.0 2026-01-02 19:17:49 +08:00
Tw93
88f434f01a feat: Add browser version cleanup tests, enhance shell completion with new tests, and introduce core command definitions. 2026-01-02 09:55:42 +08:00
Jean-Jacques Martrès
6c93f9a0e9 🐛 fix(code formatting): use spaces not tabs 2026-01-01 18:30:18 +01:00
Jean-Jacques Martrès
553bd47127 feat: add shell completion script
This commit introduces a new `completion` command that provides shell
completion for bash, zsh, and fish.

The completion is implemented as a shell script in `bin/completion.sh`
and the main `mole` script has been updated to use it.

This approach was chosen to keep the completion logic in shell script,
as the `mole` command is primarily a set of shell scripts.
2026-01-01 15:27:23 +01:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
108563ed9b refactor: enhance install script robustness with improved error handling, option validation, and safer file operations, and add error checking for alias removal during uninstall. 2025-12-31 14:46:14 +08:00
Tw93
6cf6a995cd Fix: Improve Homebrew uninstallation feedback in 'mo remove'
When 'mole remove' is used and Mole was installed via Homebrew, the script
now provides more explicit feedback if the 'brew uninstall --force mole'
command fails. Previously, errors were silently ignored.

This change ensures that if Homebrew uninstallation encounters an issue,
the user is informed with the error output and instructed on how to
manually complete the uninstallation, preventing inconsistencies where
Homebrew still believes Mole is installed.

Additionally, a minor improvement to config_dir resolution in update_mole
was included for robustness.
2025-12-31 00:17:40 +08:00
Tw93
fff27a7578 1.17.0 2025-12-30 18:18:11 +08:00
Tw93
8711c5b5fc feat: add cloud storage protection and bump version to 1.16.2
- Protect Dropbox, OneDrive, Google Drive, Backblaze, Box (Issue #204)
- Add homebrew.mxcl.* services protection
- Document mo optimize --dry-run in help and README
- Bump version to 1.16.2
2025-12-30 14:38:22 +08:00
Tw93
0e6b595d8a chore: Bump version to 1.16.1 and refactor CI/CD to build separate macOS architectures with CGO enabled. 2025-12-29 20:52:13 +08:00
Tw93
3c38790d38 feat: bump version to 1.16.0 and normalize release tags in the installer for consistent version handling. 2025-12-29 20:31:14 +08:00
Tw93
3eccb7c094 feat: improve project clean module's common utility sourcing and bump version to 1.15.10 2025-12-29 20:26:16 +08:00
Tw93
af61748977 release binaries via GH releases and update installer fallback 2025-12-29 20:23:11 +08:00
Tw93
7485af0bee chore: Remove --force-rescan option from uninstall command and script. 2025-12-29 19:40:09 +08:00
Tw93
6328bf158d feat(purge): smart project discovery and optimization 2025-12-29 19:38:14 +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
c5910224ae Fix the problems of remove and reinstall 2025-12-29 15:51:15 +08:00
Tw93
c1e7290f4d 1.15.7 Repair and update check 2025-12-29 15:46:59 +08:00
Tw93
beaaa98c9b Tweak macOS update detection and bump version 2025-12-29 15:13:37 +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
Tw93
6beca2f5fa fix: improve robustness of UI output commands by adding || true 2025-12-28 21:51:38 +08:00
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
61069aff86 Bump version to 1.15.2 2025-12-28 19:34:45 +08:00
Tw93
ee5cfbfccf 1.15.1 2025-12-28 14:59:31 +08:00
Tw93
562759244f 1.15.0 2025-12-28 10:06:55 +08:00
Tw93
f2160b7cab chore: auto format code 2025-12-27 02:19:22 +00:00
Tw93
b0f6917fd9 Bump version to 1.14.7 and improve Homebrew installation detection logic 2025-12-27 10:18:12 +08:00
Tw93
a7c989588e improve code quality and fix signal handling 2025-12-26 20:34:38 +08:00
Tw93
04312962b2 1.14.5 2025-12-26 18:26:18 +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
8bd4147dc1 1.14.4 2025-12-25 11:53:05 +08:00
Tw93
6d66465447 refactor: Improve shell array expansion robustness in cleanup functions 2025-12-23 09:55:18 +08:00
Tw93
f410f356df feat: Display system, adapter, and battery power metrics in status view 2025-12-22 19:30:35 +08:00
Tw93
9a942a2770 feat: Add configurable project cleanup depth, refine interactive menu display, and sanitize uninstall app names. 2025-12-22 18:53:48 +08:00
Tw93
8df29e33e6 chore: bump version to 1.14.0 2025-12-22 16:53:08 +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
25f0fff91d fix: Refine recent items clearing to target specific global lists and prevent accidental deletion 2025-12-18 19:05:33 +08:00
Tw93
c1784f7aa4 refactor: improve clean item removal with safe_remove 2025-12-18 17:38:37 +08:00
Tw93
79e40b9c91 docs: Improve clarity and conciseness of comments and documentation 2025-12-18 17:35:54 +08:00