Skip to content

Commit

Permalink
iexplorer: fix livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanordoesntcode authored Jan 14, 2025
1 parent ee9608b commit 040f76d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Casks/i/iexplorer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
livecheck do
url "https://macroplant.com/iexplorer/mac/v#{version.csv.first.major}/appcast"
regex(%r{/(\d+)/iExplorer[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
strategy :sparkle do |item, regex|
match = item.url.match(regex)
strategy :page_match do |page, regex|
match = page.match(regex)
next if match.blank?

"#{item.version},#{match[1]}"
"#{match[2]},#{match[1]}"
end
end

Expand Down

0 comments on commit 040f76d

Please sign in to comment.