27 lines
788 B
Ruby
27 lines
788 B
Ruby
cask "languagetool" do
|
|
version "1.5.3"
|
|
sha256 "b3a05eca5d36d9de958cba68ad12dc528f88730cf0b4a993ca013be95f4ee750"
|
|
|
|
url "https://languagetool.org/download/mac-app/LanguageToolDesktop-#{version}.dmg"
|
|
name "LanguageTool for Desktop"
|
|
desc "Grammar, spelling and style suggestions in all the writing apps"
|
|
homepage "https://languagetool.org/"
|
|
|
|
livecheck do
|
|
url "https://languagetool.org/download/mac-app/appcast.xml"
|
|
strategy :sparkle, &:short_version
|
|
end
|
|
|
|
depends_on macos: ">= :big_sur"
|
|
|
|
app "LanguageTool for Desktop.app"
|
|
|
|
uninstall quit: "org.languagetool.desktop"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/LanguageTool for Desktop",
|
|
"~/Library/Caches/org.languagetool.desktop",
|
|
"~/Library/Preferences/org.languagetool.desktop.plist",
|
|
]
|
|
end
|