mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #158036 from p-linnane/plistedit-pro-livecheck
plistedit-pro: update livecheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user