forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawio.rb
22 lines (19 loc) · 952 Bytes
/
drawio.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cask 'drawio' do
version '11.3.0'
sha256 '48dd5817411c96a409b416224a0d7b7c2425823d136ee53c91e68e0fb664cd8e'
# 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