mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
aria2d: update livecheck
This commit is contained in:
+5
-1
@@ -8,9 +8,13 @@ cask "aria2d" do
|
||||
desc "Aria2 GUI"
|
||||
homepage "https://github.com/xjbeta/Aria2D"
|
||||
|
||||
# Older items in the Sparkle feed may have a newer pubDate, so it's necessary
|
||||
# to work with all of the items in the feed (not just the newest one).
|
||||
livecheck do
|
||||
url "https://raw.githubusercontent.com/xjbeta/AppUpdaterAppcasts/master/Aria2D/Appcast.xml"
|
||||
strategy :sparkle, &:short_version
|
||||
strategy :sparkle do |items|
|
||||
items.map(&:short_version)
|
||||
end
|
||||
end
|
||||
|
||||
depends_on macos: ">= :high_sierra"
|
||||
|
||||
Reference in New Issue
Block a user