Skip to content

Commit

Permalink
eset-cyber-security: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka authored and khipp committed Jan 27, 2025
1 parent 25520cf commit 574c7ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Casks/e/eset-cyber-security.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
homepage "https://www.eset.com/"

livecheck do
url "https://help.eset.com/latestVersions/"
regex(%r{ESET\sCyber\sSecurity</p>\n.*/span>\sv?(\d+(?:\.\d+)+)}i)
url "https://www.eset.com/us/home/cyber-security/download/?tx_esetdownloads_ajax[product]=84&tx_esetdownloads_ajax[plugin_id]=1&type=13554"
strategy :json do |json|
json.dig("files", "installer")&.map { |_, item| item["full_version"] }
end
end

depends_on macos: ">= :big_sur"
Expand Down

0 comments on commit 574c7ac

Please sign in to comment.