Files
homebrew-cask/Casks/f/fanny.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

26 lines
705 B
Ruby

cask "fanny" do
version "2.3.0"
sha256 :no_check
url "https://fannywidget.com/FannyWidget.zip"
name "FannyWidget"
desc "Notification Center widget and menu bar application to monitor fans"
homepage "https://fannywidget.com/"
livecheck do
url :homepage
regex(%r{href=.*?FannyWidget\.zip["' >].*?v?(\d+(?:\.\d+)+).*?</a>}im)
end
depends_on macos: ">= :high_sierra"
app "FannyWidget-v#{version.csv.first}/Fanny.app"
zap trash: [
"~/Library/Application Scripts/com.fannywidget.today-extension",
"~/Library/Containers/com.fannywidget.today-extension",
"~/Library/Group Containers/fanny-shared-defaults",
"~/Library/Preferences/com.fannywidget.plist",
]
end