homebrew-cask/Casks/zettlr.rb

21 lines
677 B
Ruby

cask "zettlr" do
version "1.8.1"
sha256 "2b6c22c93cb73c9b650abb437e28c86a2a902f8a805f90bdefa67acfb4251b5e"
# github.com/Zettlr/Zettlr/ was verified as official when first introduced to the cask
url "https://github.com/Zettlr/Zettlr/releases/download/v#{version}/Zettlr-#{version}.dmg"
appcast "https://github.com/Zettlr/Zettlr/releases.atom"
name "Zettlr"
desc "Open-source markdown editor"
homepage "https://www.zettlr.com/"
app "Zettlr.app"
zap trash: [
"~/Library/Application Support/zettlr",
"~/Library/Logs/Zettlr",
"~/Library/Preferences/com.zettlr.app.plist",
"~/Library/Saved Application State/com.zettlr.app.savedState",
]
end