Skip to content

Commit

Permalink
Merge pull request #182370 from Homebrew/update-yealink-meeting
Browse files Browse the repository at this point in the history
yealink-meeting: add arm arch
  • Loading branch information
SMillerDev committed Aug 14, 2024
2 parents 38da4da + c6ffab9 commit 4a2793b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Casks/y/yealink-meeting.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
cask "yealink-meeting" do
version "4.6.30,63c6f7424fad1db08db10b5025dbdb1a"
sha256 "24d704eac27337e918f87c7453f41c579ed074e33012d2a9dc2010231edf277e"
arch arm: "mac-arm", intel: "macos"

url "https://download.ylyun.com/yealink-meeting/macos/latest/Yealink-Meeting.dmg?v=#{version.csv.second}"
on_arm do
version "4.6.30,63c6f7424fad1db08db10b5025dbdb1a"
sha256 "24d704eac27337e918f87c7453f41c579ed074e33012d2a9dc2010231edf277e"
end
on_intel do
version "4.6.29,3c384d071e92bf569d2c9786295a3560"
sha256 "40bc847b8d094e5ad4590d93329c55919fc18654d20a075faebabea1fbee45cb"
end

url "https://download.ylyun.com/yealink-meeting/#{arch}/latest/Yealink-Meeting.dmg?v=#{version.csv.second}"
name "Yealink Meeting"
desc "Video communication and virtual meeting platform"
homepage "https://www.ylyun.com/portal/pc/Download"

livecheck do
url "https://www.ylyun.com/portal/front/appPackageInfo?type=macos"
url "https://www.ylyun.com/portal/front/appPackageInfo?type=#{arch}"
strategy :json do |json|
"#{json.dig("data", "packageVersion")},#{json.dig("data", "md5")}"
end
Expand Down

0 comments on commit 4a2793b

Please sign in to comment.