Skip to content

Commit

Permalink
holavpn: fix livecheck
Browse files Browse the repository at this point in the history
autobump: add holavpn

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
bevanjkay authored and chenrui333 committed Apr 4, 2024
1 parent 2317e81 commit e63476b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ hackolade
hbuilderx
heptabase
heroic
holavpn
hoppscotch
hstracker
hydrus-network
Expand Down
2 changes: 1 addition & 1 deletion Casks/h/holavpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e63476b

Please sign in to comment.