26 lines
730 B
Ruby
26 lines
730 B
Ruby
cask "grammarly-desktop" do
|
|
version "1.32.3.0"
|
|
sha256 "379c9ee03ad42c59eca546655b49fc6d47dd0415d2fb508baa686244da1e4580"
|
|
|
|
url "https://download-mac.grammarly.com/versions/#{version}/Grammarly.dmg"
|
|
name "Grammarly Desktop"
|
|
desc "Grammarly for desktop"
|
|
homepage "https://www.grammarly.com/desktop"
|
|
|
|
livecheck do
|
|
url "https://download-mac.grammarly.com/appcast.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "Grammarly Installer.app", target: "Grammarly Desktop.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.grammarly.ProjectLlama",
|
|
"~/Library/Caches/com.grammarly.ProjectLlama",
|
|
"~/Library/Preferences/com.grammarly.ProjectLlama.plist",
|
|
]
|
|
end
|