homebrew-cask/Casks/r/radar.rb

32 lines
893 B
Ruby

cask "radar" do
version "2.6.5"
sha256 "228f8d3efa1020006079069d7bae4c606c6b1bd153d7aaa4dba917f2153c4051"
url "https://getradar.co/download/v#{version}.dmg"
name "Radar"
desc "Check important metrics from the menubar"
homepage "https://getradar.co/"
livecheck do
url "https://getradar.co/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Radar.app"
uninstall launchctl: "com.syncwithtech.radar.ShipIt",
quit: "com.syncwithtech.radar"
zap trash: [
"~/Library/Application Support/Caches/radar-updater",
"~/Library/Application Support/Radar",
"~/Library/Caches/com.syncwithtech.radar",
"~/Library/Caches/com.syncwithtech.radar.ShipIt",
"~/Library/Logs/Radar",
"~/Library/Preferences/com.syncwithtech.radar.plist",
"~/Library/Saved Application State/com.syncwithtech.radar.savedState",
]
end