Skip to content

Commit

Permalink
fix livecheck of Google Chrome
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron-212 <[email protected]>
  • Loading branch information
Aaron-212 committed Jun 1, 2024
1 parent 42749a4 commit 9cedad1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Casks/g/google-chrome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
homepage "https://www.google.com/chrome/"

livecheck do
url :url
strategy :extract_plist do |versions|
versions.values.filter_map(&:short_version).first
end
url "https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Mac"
regex(/"version":\s*"v?(\d+(?:\.\d+)+)"/i)
end

auto_updates true
Expand Down

0 comments on commit 9cedad1

Please sign in to comment.