Skip to content

Commit

Permalink
telegram: fix livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
khipp committed Jan 28, 2025
1 parent 4429d90 commit 9ef7620
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Casks/t/telegram.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
desc "Messaging app with a focus on speed and security"
homepage "https://macos.telegram.org/"

# The sparkle feed uses incorrect pubDate values, so it's necessary to
# work with all of the items in the feed (not just the newest one).
livecheck do
url "https://osx.telegram.org/updates/versions.xml"
strategy :sparkle
strategy :sparkle do |items|
items.map(&:nice_version)
end
end

auto_updates true
Expand Down

0 comments on commit 9ef7620

Please sign in to comment.