Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / r / ringcentral.rb
blobc852d3fc3f78fbc11dc92ec6aba10094232a872c
1 cask "ringcentral" do
2   arch arm: "-arm64"
4   version "25.1.10"
5   sha256 :no_check
7   url "https://app.ringcentral.com/download/RingCentral#{arch}.pkg"
8   name "RingCentral"
9   desc "Team messaging, video meetings, and business phone"
10   homepage "https://www.ringcentral.com/download.html"
12   livecheck do
13     url "https://support.ringcentral.com/release-notes/ringex/desktop-webapp.html"
14     regex(/Version[\s\u00A0]+v?(\d+(?:\.\d+)+)/i)
15   end
17   auto_updates true
18   depends_on macos: ">= :high_sierra"
20   pkg "RingCentral#{arch}.pkg"
22   uninstall quit:    "RingCentral",
23             pkgutil: "com.ringcentral.glip"
25   zap trash: [
26         "~/Library/Application Support/RingCentral",
27         "~/Library/Logs/RingCentral",
28         "~/Library/Preferences/com.ringcentral.glip.plist",
29         "~/Library/Saved Application State/com.ringcentral.glip.savedState",
30       ],
31       rmdir: "~/Documents/RingCentral"
32 end