homebrew-cask/Casks/radar.rb

32 lines
893 B
Ruby
Raw Normal View History

cask "radar" do
version "2.2.0"
sha256 "7464aa578190d9d2313c1d348de85fc2916ec0d274fcbd372185f59da2f03eb1"
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