From b1d07d6274f98bcec03e39da581215780de318ba Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Wed, 22 Nov 2023 11:24:33 +1100 Subject: [PATCH] macwhisper: fix livecheck --- Casks/m/macwhisper.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Casks/m/macwhisper.rb b/Casks/m/macwhisper.rb index 9e4677eb5a..a81100e756 100644 --- a/Casks/m/macwhisper.rb +++ b/Casks/m/macwhisper.rb @@ -8,9 +8,13 @@ cask "macwhisper" do desc "Speech recognition tool" homepage "https://goodsnooze.gumroad.com/l/macwhisper" + # 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://macwhisper-site.vercel.app/appcast.xml" - strategy :sparkle + strategy :sparkle do |items| + items.map { |item| "#{item.short_version},#{item.version}" } + end end auto_updates true