excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / yealink-meeting.rb
blobc8c26f2e0c8b69e9bc4e2fa64ac0d5a04d3d69a8
1 cask "yealink-meeting" do
2   arch arm: "mac-arm", intel: "macos"
4   on_arm do
5     version "4.7.8,7feccc7213a899e6582c6dad9b99a292"
6     sha256 "7ba632d410653df2649d4156f3ad2bb5e313097488e23b5599416e9f98dcb85a"
7   end
8   on_intel do
9     version "4.7.7,af93cde8532e3e484840791594e9e4c8"
10     sha256 "0df51bb58fcd0aab8ae191a0520cc426c1c7e3cb4651e62061c596077ef0db18"
11   end
13   url "https://download.ylyun.com/yealink-meeting/#{arch}/latest/Yealink-Meeting.dmg?v=#{version.csv.second}"
14   name "Yealink Meeting"
15   desc "Video communication and virtual meeting platform"
16   homepage "https://www.ylyun.com/portal/pc/Download"
18   livecheck do
19     url "https://www.ylyun.com/portal/front/appPackageInfo?type=#{arch}"
20     strategy :json do |json|
21       "#{json.dig("data", "packageVersion")},#{json.dig("data", "md5")}"
22     end
23   end
25   app "Yealink Meeting.app"
27   zap trash: [
28     "~/Library/Application Support/Yealink Meeting",
29     "~/Library/Application Support/YealinkSdk",
30   ]
31 end