forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawio.rb
22 lines (19 loc) · 953 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 '13.0.3'
sha256 'decea8307b0f63720e5d7abb8cac1eb88d0022109199757f672a3641e7695488'
# 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