Skip to content

Commit

Permalink
xmenu: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed Sep 19, 2024
1 parent 76e91fd commit 905535c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Casks/x/xmenu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
homepage "https://www.devontechnologies.com/apps/freeware"

livecheck do
url :homepage
regex(%r{href=.*?/v?(\d+(?:\.\d+)+)/XMenu\.app\.zip}i)
url "https://api.devontechnologies.com/1/apps/updates.plist.php?product=XMenu&version=#{version}"
strategy :xml do |xml|
xml.elements["//key[text()='XMenu']"]&.next_element&.text&.strip
end
end

app "XMenu.app"
Expand Down

0 comments on commit 905535c

Please sign in to comment.