homebrew-cask/Casks/drawio.rb

23 lines
865 B
Ruby

cask "drawio" do
version "13.6.2"
sha256 "153d047eee2af1d9375be7267c4c522ab3acfa6910a6236740962a3dac6872bc"
# github.com/jgraph/drawio-desktop/ was verified as official when first introduced to the cask
url "https://github.com/jgraph/drawio-desktop/releases/download/v#{version}/draw.io-#{version}.dmg"
appcast "https://github.com/jgraph/drawio-desktop/releases.atom"
name "draw.io Desktop"
homepage "https://www.draw.io/"
app "draw.io.app"
zap trash: [
"~/Library/Application Support/draw.io",
"~/Library/Caches/com.jgraph.drawio.desktop",
"~/Library/Logs/draw.io",
"~/Library/Preferences/com.jgraph.drawio.desktop.helper.plist",
"~/Library/Preferences/com.jgraph.drawio.desktop.plist",
"~/Library/Saved Application State/com.jgraph.drawio.desktop.savedState",
"~/Library/WebKit/com.jgraph.drawio.desktop",
]
end