26 lines
705 B
Ruby
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
|