From e63476b8ecd4ae5ea938790974f8f01589c853f3 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Thu, 4 Apr 2024 10:19:07 +1100 Subject: [PATCH] holavpn: fix livecheck autobump: add holavpn Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Casks/h/holavpn.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/autobump.txt b/.github/autobump.txt index e0bdd49b2f1c3..11288677593ff 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -156,6 +156,7 @@ hackolade hbuilderx heptabase heroic +holavpn hoppscotch hstracker hydrus-network diff --git a/Casks/h/holavpn.rb b/Casks/h/holavpn.rb index 2a9b5e4f696bd..b6f23f42f9f1d 100644 --- a/Casks/h/holavpn.rb +++ b/Casks/h/holavpn.rb @@ -9,7 +9,7 @@ livecheck do url "https://hola.org/download" - regex(/"iosmac2e":"(#{version.csv.first.major}[^"]+)","iosmac2e_build":"([^"]+)"/i) + regex(/"iosmac2e":"(#{version.csv.first.major}[^"]+)"(?:,"iosmac2e_next":"[^"]+")?,"iosmac2e_build":"([^"]+)"/i) strategy :page_match do |page| page.scan(regex).map { |match| "#{match[0]},#{match[1]}" } end