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

1013 Commits

Author SHA1 Message Date
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
dependabot[bot]
21a921c986 chore(deps): bump actions/download-artifact from 4.1.8 to 7.0.0 (#201) 2025-12-30 07:04:47 +08:00
dependabot[bot]
02eaf3d645 chore(deps): bump actions/upload-artifact from 4.6.0 to 6.0.0 (#200) 2025-12-30 07:04:21 +08:00
Tw93
a7337280a8 feat: package binaries into tar.gz for Homebrew resource
- Add packaging step to create binaries-darwin-{arch}.tar.gz
- These packages will be downloaded by Homebrew resource mechanism
- Enables faster installation without Go dependency
- Separate packages for arm64 and amd64 architectures
2025-12-29 22:40:53 +08:00
Tw93
3fd1dbe89a fix: resolve version tag normalization bug (VV prefix) and improve network detection 2025-12-29 22:29:01 +08:00
Tw93
c962b6f4b9 update install V tag 2025-12-29 22:11:43 +08:00
Tw93
c94e26d531 ci: Update macOS runners to macos-latest in release workflow. V1.16.1 2025-12-29 20:57:48 +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
ac73c0c249 Merge branch 'main' of github.com:tw93/Mole 2025-12-29 20:26:22 +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
2528169d41 chore: auto format code 2025-12-29 12:23:50 +00:00
Tw93
af61748977 release binaries via GH releases and update installer fallback 2025-12-29 20:23:11 +08:00
Tw93
a95355c002 Merge branch 'main' of github.com:tw93/Mole 2025-12-29 19:40:14 +08:00
Tw93
7485af0bee chore: Remove --force-rescan option from uninstall command and script. 2025-12-29 19:40:09 +08:00
Tw93
fd95e2f3fc chore: auto format code 2025-12-29 11:38:50 +00:00