Skip to content

Commit

Permalink
languagetool: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed Sep 11, 2023
1 parent d1a9605 commit 4d9fe43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Casks/l/languagetool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
desc "Grammar, spelling and style suggestions in all the writing apps"
homepage "https://languagetool.org/"

# 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://languagetool.org/download/mac-app/appcast.xml"
strategy :sparkle, &:short_version
strategy :sparkle do |items|
items.map(&:short_version)
end
end

depends_on macos: ">= :big_sur"
Expand Down

0 comments on commit 4d9fe43

Please sign in to comment.