forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adobe-connect.rb
26 lines (20 loc) · 875 Bytes
/
adobe-connect.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cask "adobe-connect" do
version "11,2021.6.27"
sha256 "4037e55aadfe96964eb200c57913dbc51e3c6ecec64bfe9fbf212febcc73fedf"
url "https://download.adobe.com/pub/connect/updaters/meeting/#{version.before_comma.dots_to_underscores}/AdobeConnect_#{version.after_comma.dots_to_underscores}.dmg"
name "Adobe Connect"
desc "Virtual meeting client"
homepage "https://www.adobe.com/products/adobeconnect.html"
livecheck do
url "https://www.adobe.com/go/ConnectMac11Plus"
regex(%r{/(\d+(?:[._]\d+)*)/AdobeConnect[._-]?(\d+(?:[._]\d+)*)\.dmg}i)
strategy :header_match do |headers, regex|
match = headers["location"]&.match(regex)
next if match.blank?
"#{match[1].tr("_", ".")},#{match[2].tr("_", ".")}"
end
end
auto_updates true
installer manual: "AdobeConnectInstaller.app"
uninstall delete: "/Applications/Adobe Connect"
end