homebrew-cask/Casks/t/tg-pro.rb

29 lines
924 B
Ruby

cask "tg-pro" do
version "2.83"
sha256 "21e0dc20abe25b3b4fedee1a83675fe1cc47e737d52b74010d1df334c1ec114e"
url "https://www.tunabellysoftware.com/resources/TG%20Pro%20#{version}.dmg"
name "TG Pro"
desc "Temperature monitoring, fan control and diagnostics"
homepage "https://www.tunabellysoftware.com/tgpro/"
livecheck do
url "https://www.tunabellysoftware.com/resources/sparkle/tgpro.xml"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "TG Pro.app"
zap trash: [
"/Library/LaunchDaemons/com.tunabellysoftware.TGFanHelper.plist",
"/Library/PrivilegedHelperTools/com.tunabellysoftware.TGFanHelper",
"~/Library/Application Support/TG Pro",
"~/Library/Caches/com.tunabellysoftware.tgpro",
"~/Library/Cookies/com.tunabellysoftware.tgpro.binarycookies",
"~/Library/Preferences/com.tunabellysoftware.tgpro.plist",
]
end