23 lines
754 B
Ruby
23 lines
754 B
Ruby
cask "ringcentral-phone" do
|
|
version "23.4.0"
|
|
sha256 "2665eaaf476329097ff4f456c763d08f966c31573c646f61b472e52da28c0e9c"
|
|
|
|
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
|