Merge pull request #155423 from razvanazamfirei/bump-duet-3.11.0.0

duet 3.11.0.0
This commit is contained in:
BrewTestBot
2023-09-18 02:21:48 -07:00
committed by GitHub
+14 -10
View File
@@ -3,27 +3,31 @@ cask "duet" do
version "2.4.7.1"
sha256 "3e91729e333ab3e2984bec4c1194e7022d016d91c79cd21509bc00b42b9559bd"
url "https://duetdownload.com/Mac/#{version.major_minor.dots_to_underscores}/duet-#{version.dots_to_hyphens}.zip",
verified: "duetdownload.com/Mac/"
livecheck do
url "https://updates.duetdisplay.com/latestMac"
strategy :header_match do |headers|
headers["location"][/duet[._-]v?(\d+(?:-\d+)+)\.zip/i, 1].tr("-", ".")
end
skip "Legacy version"
end
end
on_big_sur :or_newer do
version "3.10.0.0"
sha256 "2ed19139c5b031571e50531e17a41d2c4d09c621c90a91c95c2b05f2014cb331"
version "3.11.0.0"
sha256 "98c78849b77df18a29b33a6da755a0039aef8aa884d8737d5cafce2a4507bd6d"
url "https://duetdownload.com/Mac/#{version.major}_x/duet-#{version.dots_to_hyphens}.zip",
verified: "duetdownload.com/Mac/"
livecheck do
url "https://updates.duetdisplay.com/AppleSilicon"
strategy :header_match do |headers|
headers["location"][/duet[._-]v?(\d+(?:-\d+)+)\.zip/i, 1].tr("-", ".")
regex(/duet[._-]v?(\d+(?:-\d+)+)\.zip/i)
strategy :header_match do |headers, regex|
headers["location"].scan(regex).map do |match|
match[0].tr("-", ".").to_s
end
end
end
end
url "https://duetdownload.com/Mac/#{version.major_minor.dots_to_underscores}/duet-#{version.dots_to_hyphens}.zip",
verified: "duetdownload.com/Mac/"
name "Duet"
desc "Remote desktop and second display tool"
homepage "https://www.duetdisplay.com/"