Skip to content

Commit

Permalink
Merge pull request #182141 from Homebrew/update-touch-portal
Browse files Browse the repository at this point in the history
touch-portal: update livecheck
  • Loading branch information
p-linnane authored Aug 11, 2024
2 parents 19aec24 + f2e682b commit 9c4fecc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Casks/t/touch-portal.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cask "touch-portal" do
arch arm: "M1"

version "4.2.0"
version "4.2,1"
sha256 :no_check

url "https://www.touch-portal.com/downloads/releases/mac/TouchPortalMacRelease#{arch}.dmg"
Expand All @@ -10,8 +10,11 @@
homepage "https://www.touch-portal.com/"

livecheck do
url :url
strategy :extract_plist
url :homepage
regex(/v?(\d+(?:\.\d+)+).*?Build\s+(\d+)/i)
strategy :page_match do |page, regex|
page&.scan(regex)&.map { |match| "#{match[0]},#{match[1]}" }
end
end

depends_on macos: ">= :el_capitan"
Expand Down

0 comments on commit 9c4fecc

Please sign in to comment.