Skip to content

Commit

Permalink
cacher.rb: update livecheck strategy for electron-builder (Homebrew#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao authored Mar 17, 2021
1 parent 47399e4 commit 345b2d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Casks/cacher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

livecheck do
url "https://cacher-download.nyc3.digitaloceanspaces.com/latest-mac.yml"
regex(/version\s*:\s*(\d+(?:\.\d+)+)/i)
strategy :page_match do |page|
YAML.safe_load(page)["version"]
end
end

app "Cacher.app"
Expand Down

0 comments on commit 345b2d9

Please sign in to comment.