forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbox-drive.rb
30 lines (25 loc) · 1005 Bytes
/
box-drive.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cask 'box-drive' do
version :latest
sha256 :no_check
# e3.boxcdn.net was verified as official when first introduced to the cask
url 'https://e3.boxcdn.net/box-installers/desktop/releases/mac/Box.pkg'
name 'Box Drive'
homepage 'https://www.box.com/drive'
conflicts_with cask: 'box-sync'
pkg 'Box.pkg'
uninstall pkgutil: 'com.box.desktop.installer.*',
launchctl: 'com.box.desktop.*',
script: '/Library/Application Support/Box/uninstall_box_drive',
quit: [
'com.box.Box-Local-Com-Server',
'com.box.desktop',
'com.box.desktop.findersyncext',
'com.box.desktop.helper',
'com.box.desktop.ui',
]
zap trash: [
'~/Library/Application Support/Box/Box',
'~/Library/Logs/Box/Box',
'~/Library/Containers/com.box.desktop.findersyncext',
]
end