1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-13 01:00:13 +00:00

Improve Homebrew installation and automation

- Simplify Homebrew install to single command: brew install tw93/tap/clean-mac
- Add GitHub Action for automatic formula updates on release
- Remove need for separate tap command

Features:
- One-command Homebrew installation
- Automatic formula updates on new releases
- Streamlined user experience
This commit is contained in:
Tw93
2025-09-23 14:53:31 +08:00
parent f91e89cea9
commit 0b676df02c
3 changed files with 24 additions and 10 deletions

View File

@@ -87,14 +87,8 @@ install_via_homebrew() {
return 1
fi
# Add tap if not already added
if ! brew tap | grep -q "tw93/tap"; then
log_info "Adding tap: tw93/tap"
brew tap tw93/tap
fi
# Install clean-mac
brew install clean-mac
# Install with automatic tap addition
brew install tw93/tap/clean-mac
return $?
}