Add brew installation
It would be great if this were installable via brew install!
I created a cask and confirmed that it's working and passes brew audit --cask --new widgettoggler.
Casks/widgettoggler.rb:
cask "widgettoggler" do
version "1.2.0"
sha256 "4a37bd84eb391c86e80a05b3b875dae6286418f2223970dbeff03abe310b5af9"
url "https://github.com/sieren/WidgetToggler/releases/download/#{version}/WidgetToggler_#{version.split(".")[0...2].join(".")}.zip"
name "widgettoggler"
desc "macOS Sonoma Widget Toggler for the Tray Bar - Easily Show and Hide Widgets"
homepage "https://github.com/sieren/WidgetToggler"
depends_on macos: ">= :sonoma"
app "WidgetToggler.app"
end
I didn't add the recommended brew livecheck stanza because I'm not familiar with the syntax yet, but it's not required.
Can someone submit this? It can be submitted this way:
-
You can submit this file to Homebrew/homebrew-cask. This will let users install it via
brew install widgettoggler. Anyone can submit this file, I just don't have the time to do it. -
Alternatively, the maintainer can create a new repo
sieren/homebrew-widgettogglerand put this file into it. This will let users install it viabrew install sieren/widgettoggler/widgettoggler.