homebrew-cask/Casks/ringcentral.rb

30 lines
804 B
Ruby

cask "ringcentral" do
arch arm: "-arm"
version "22.4.34"
sha256 :no_check
url "https://app.ringcentral.com/download/RingCentral#{arch}.pkg"
name "RingCentral"
desc "Team messaging, video meetings, and business phone"
homepage "https://www.ringcentral.com/download.html"
livecheck do
url "https://app.ringcentral.com/download/latest-mac.yml"
strategy :electron_builder
end
pkg "RingCentral#{arch}.pkg"
uninstall delete: "/Applications/RingCentral.app",
quit: "RingCentral",
pkgutil: "com.ringcentral.glip"
zap trash: [
"~/Library/Application Support/RingCentral",
"~/Library/Logs/RingCentral",
"~/Library/Preferences/com.ringcentral.glip.plist",
"~/Library/Saved Application State/com.ringcentral.glip.savedState",
]
end