diff --git a/Casks/m/macwhisper.rb b/Casks/m/macwhisper.rb index 6307ff5b26..a81100e756 100644 --- a/Casks/m/macwhisper.rb +++ b/Casks/m/macwhisper.rb @@ -1,6 +1,6 @@ cask "macwhisper" do - version "5.4,460" - sha256 "b45dc4bd5e35b15f327baac015edffdc8825d9588b1fb001cbdc740180cd5cb8" + version "5.7,591" + sha256 "06cc1c7d19c81ea66d3e9f5f49a58edf48b9677f825d7817dc81fd6ec2f84e26" url "https://macwhisper-site.vercel.app/releases/MacWhisper-#{version.csv.second}.zip", verified: "macwhisper-site.vercel.app/releases/" @@ -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