27 lines
788 B
Ruby
27 lines
788 B
Ruby
cask "languagetool" do
|
|
version "1.2.2"
|
|
sha256 "845cf0c16539fcdba012e69fb75656300c18b3e3f56308329210cb5681a37756"
|
|
|
|
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
|