homebrew-cask/Casks/r/radar.rb

32 lines
893 B
Ruby

cask "radar" do
version "2.6.2"
sha256 "e737761a5801b2b93ec2e34a83b00ac7e28e701ad7c4e83761eafb4856875288"
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