From fc78ce67467a1010c37b8df448159048dfb98dc9 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Tue, 15 Aug 2023 13:03:38 -0400 Subject: [PATCH] aria2d: update livecheck --- Casks/a/aria2d.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Casks/a/aria2d.rb b/Casks/a/aria2d.rb index 8080e7aec3..51d41d43c3 100644 --- a/Casks/a/aria2d.rb +++ b/Casks/a/aria2d.rb @@ -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"