homebrew-cask/Casks/drawio.rb

23 lines
952 B
Ruby

cask 'drawio' do
version '12.9.9'
sha256 '9a5769d6596089f41684e47916fb8aa279b4fd1730c2803a5f5a90cdd3017d88'
# 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