Tw93
8ac59da0e2
chore: auto format code
2025-12-31 06:46:46 +00: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
e30dfd3c57
feat: add --update flag to install.sh to set update action
2025-12-31 14:25:50 +08:00
Tw93
bb142429e3
docs: clarify installation method headers in README
2025-12-31 14:03:14 +08:00
Tw93
1f7a8b1bcb
docs: streamline installation instructions by moving script method to Quick Start and clarifying Homebrew header.
2025-12-31 14:00:15 +08:00
Tw93
01eff633e8
fix: safely handle sparse/empty arrays with set -u in install.sh
2025-12-31 11:58:27 +08:00
Tw93
0ad1573aef
fix: Ensure set -- correctly clears positional parameters when no arguments are collected.
2025-12-31 11:57:13 +08:00
Tw93
31b8821dfd
feat: Add versioned and edge installation support to install.sh and update README, removing old install script options.
2025-12-31 11:55:55 +08:00
Tw93
884a095534
Merge branch 'main' of github.com:tw93/Mole
2025-12-31 10:59:56 +08:00
Tw93
b5b09461c7
feat: add spinner feedback to optimization tasks, enhance app discovery for uninstall, and improve UI robustness and signal handling
2025-12-31 10:59:50 +08:00
Tw93
aca0f66688
chore: auto format code
2025-12-31 02:25:09 +00:00
Tw93
97ed11cd42
refactor: clean_local_snapshots now uses an array for snapshot processing and includes a read_key fallback, with new tests.
2025-12-31 10:23:11 +08:00
Tw93
8d935c6140
feat: Improve clean_local_snapshots robustness and simplify Raycast quick launcher setup.
2025-12-31 10:22:53 +08:00
Tw93
7247ded783
fix: prompt before cleaning local snapshots and keep latest
2025-12-31 09:24:59 +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
13e735d58a
fix: replace safe_sudo with sudo for local snapshot removal
2025-12-30 23:53:17 +08:00
Tw93
bd1c37d627
fix: reduce raycast setup prompts after first run
2025-12-30 23:40:19 +08:00
Tw93
f33304ae12
chore: auto format code
2025-12-30 15:06:41 +00:00
Tw93
98afaabcff
fix: make raycast setup safe in non-interactive
2025-12-30 23:05:53 +08:00
Tw93
e2c1b62046
chore: auto format code
2025-12-30 15:02:31 +00:00
Tw93
9e10ab2925
Merge pull request #211 from thijsvanhal/main
...
feat: enhance raycast quick launcher setup script
2025-12-30 23:01:58 +08:00
Thijs van Hal
5d6a4640a8
enhance raycast quick launcher setup script
2025-12-30 12:01:27 +01:00
Tw93
fff27a7578
1.17.0
V1.17.0
2025-12-30 18:18:11 +08:00
Tw93
a7b071e8f6
refactor: improve database optimization spinner handling and network optimization success tracking.
2025-12-30 18:16:22 +08:00
Tw93
bb49ec3170
fix: Improve shell script robustness by adding variable validation and safer du output parsing.
2025-12-30 18:07:48 +08:00
Tw93
fcde129d2f
fix: expand default whitelist patterns for accurate comparison and list all active patterns in dry-run output
2025-12-30 17:46:21 +08:00
Tw93
5f6448b99d
perf: Increase section tracking overhead test threshold and ensure note_activity is defined for testing.
2025-12-30 17:22:22 +08:00
Tw93
6c1fcd23d7
feat: optimize clean operation performance by pre-expanding whitelist patterns, improving size calculation, and adapting parallel processing based on file types, alongside test suite enhancements.
2025-12-30 17:13:43 +08:00
Tw93
41ce597f02
fix: improve CI stability and Bluetooth audio detection
2025-12-30 16:27:52 +08:00
Tw93
389cae21c9
update
2025-12-30 15:57:01 +08:00
Tw93
b156bf85d9
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 15:55:53 +08:00
Tw93
1ee5ab86c7
feat: add automatic Homebrew Core formula update support
2025-12-30 15:55:21 +08:00
Tw93
e6a0b58797
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 15:52:37 +08:00
Tw93
af93011b28
feat: add automatic Homebrew Core formula update support
2025-12-30 15:52:32 +08:00
Tw93
a3cbf5258e
feat: add automatic Homebrew Core formula update support
...
- Add workflow step to auto-create PRs to Homebrew/homebrew-core
- Keep personal tap auto-update for immediate releases
- Set continue-on-error to prevent blocking on core update failures
- Use action's default commit message format for consistency
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2025-12-30 15:51:19 +08:00
Tw93
8e45da97b5
chore: auto format code
2025-12-30 07:45:31 +00:00
Tw93
7eb26ccb3a
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 15:44:57 +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
91935dcedf
Merge pull request #208 from zeldrisho/brew
...
docs: brew official formula
2025-12-30 15:44:52 +08:00
Zeldris
7f431e775e
docs: brew official formula
2025-12-30 14:22:29 +07:00
Tw93
08aec02283
fix: ensure 0KB files or du failures are still cleaned (potential under-cleaning fix)
...
- Refactor safe_clean to decouple deletion logic from size calculation
- Attempt deletion for all existing paths, even if size is 0 or unknown
- Correctly count failures only for files that existed but couldn't be removed
2025-12-30 15:02:35 +08:00
Tw93
1c4b033cf7
refactor: rename total_size_bytes to total_size_kb in clean.sh for clarity
2025-12-30 14:55:43 +08:00
Tw93
3ba406b5e7
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 14:48:15 +08:00
Tw93
f5dad048ff
refactor: improve pagination robustness and reduce code duplication
2025-12-30 14:48:10 +08:00
Tw93
dab8136da5
chore: auto format code
2025-12-30 06:46:48 +00:00
Tw93
91351d9440
docs: clarify comment for 1Password sync helpers
2025-12-30 14:46:02 +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
73f3d43308
feat: improve mo purge UX with pagination and smart project detection
...
- Add pagination for project list based on terminal height
- Show position indicator [5/25] when scrolling
- Fix GB display for values < 1 (0.6GB instead of .6GB)
- Improve project name detection by walking up to find project root
- Change default editor from nano to vim
2025-12-30 14:38:16 +08:00
Tw93
184aab5f60
feat: add --dry-run support for mo optimize
...
- Skip destructive operations (killall, launchctl unload, sudo) in dry-run mode
- Add opt_msg() helper for consistent output formatting
- Refactor opt_system_services_refresh() with service array
- Show appropriate summary for dry-run vs actual execution
- Skip sudo session prompt in dry-run mode
2025-12-30 14:38:09 +08:00
Tw93
34d202eb01
fix: resolve syntax error in size calculation (Issue #203 )
...
- Add numeric validation for size variables in safe_clean()
- Fix get_path_size_kb() to handle non-numeric du output
- Display custom whitelist patterns in dry-run output (Issue #206 )
2025-12-30 14:38:02 +08:00