mirror of
https://github.com/tw93/Mole.git
synced 2026-02-07 01:55:36 +00:00
Initial commit: Clean Mac v1.0.0
🧹 Deep Clean Your Mac with One Click
Features:
- Comprehensive cleanup for macOS cache and leftovers
- Apple Silicon optimizations
- Developer-friendly tool coverage
- Safe and transparent operation
- One-command installation
This commit is contained in:
30
Formula/clean-mac.rb
Normal file
30
Formula/clean-mac.rb
Normal file
@@ -0,0 +1,30 @@
|
||||
class CleanMac < Formula
|
||||
desc "Clean Mac - Deep Clean Your Mac with One Click"
|
||||
homepage "https://github.com/tw93/clean-mac"
|
||||
url "https://github.com/tw93/clean-mac/archive/refs/tags/v1.0.0.tar.gz"
|
||||
sha256 "PLACEHOLDER_SHA256"
|
||||
license "MIT"
|
||||
head "https://github.com/tw93/clean-mac.git", branch: "main"
|
||||
|
||||
def install
|
||||
bin.install "clean.sh" => "clean"
|
||||
end
|
||||
|
||||
test do
|
||||
# Test that the script is executable and shows help
|
||||
assert_match "Clean Mac", shell_output("#{bin}/clean --help", 0)
|
||||
end
|
||||
|
||||
def caveats
|
||||
<<~EOS
|
||||
Clean Mac has been installed!
|
||||
|
||||
Usage:
|
||||
clean - User-level cleanup (no password required)
|
||||
clean --system - Deep system cleanup (password required)
|
||||
clean --help - Show help message
|
||||
|
||||
For Apple Silicon Macs, the tool includes M-series specific optimizations.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user