From 8f55510038389a28583394fbdfea11ee68caadba Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Wed, 18 Oct 2023 13:34:52 -0700 Subject: [PATCH] plistedit-pro: update livecheck --- Casks/p/plistedit-pro.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Casks/p/plistedit-pro.rb b/Casks/p/plistedit-pro.rb index 5fdc9f3dcc..959d0e0027 100644 --- a/Casks/p/plistedit-pro.rb +++ b/Casks/p/plistedit-pro.rb @@ -7,9 +7,13 @@ cask "plistedit-pro" do desc "Property list and JSON editor" homepage "https://www.fatcatsoftware.com/plisteditpro/" + # The Sparkle feed can contain items on the "beta" channel, so we restrict + # matching to the default channel. livecheck do url "https://www.fatcatsoftware.com/plisteditpro/downloads/appcast.xml" - strategy :sparkle, &:short_version + strategy :sparkle do |items| + items.find { |item| item.channel.nil? }&.short_version + end end auto_updates true