Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touch-portal: update livecheck #182141

Merged
merged 1 commit into from
Aug 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading