homebrew-cask/Casks/ringcentral-phone.rb

23 lines
754 B
Ruby

cask "ringcentral-phone" do
version "21.3.0"
sha256 "9671352bdccf8d5cc34f6f459ce382e4e033d4a5fd0e550087ea00fa98988bd6"
url "https://downloads.ringcentral.com/sp/RingCentral-Phone-#{version}.dmg"
name "RingCentral Phone"
desc "Phone system manager"
homepage "https://www.ringcentral.com/apps/rc-phone"
livecheck do
url "https://downloads.ringcentral.com/sp/RingCentralForMac"
strategy :header_match
end
# Renamed for consistency: app name is different in the Finder and in a shell.
app "RingCentral for Mac.app", target: "RingCentral Phone.app"
zap trash: [
"~/Library/Preferences/com.ringcentral.RingCentral Phone.plist",
"~/Library/Saved Application State/com.ringcentral.ringcentralformac.savedState",
]
end