homebrew-cask/Casks/tg-pro.rb

28 lines
902 B
Ruby

cask "tg-pro" do
version "2.63,12892"
sha256 "d50f76982a8530e1a70bc3f0535a94aea489080dc3c6e04718c172a019b436da"
url "https://www.tunabellysoftware.com/resources/TG%20Pro%20#{version.csv.first}.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
end
depends_on macos: ">= :el_capitan"
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