forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarbon-copy-cloner.rb
29 lines (24 loc) · 1.17 KB
/
carbon-copy-cloner.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
cask 'carbon-copy-cloner' do
version '5.1.11.5795'
sha256 '466943df88f9cc37de9ffcd6252451aa6280e81e35895ae355c8d46da88231c0'
# bombich.scdn1.secure.raxcdn.com/software/files was verified as official when first introduced to the cask
url "https://bombich.scdn1.secure.raxcdn.com/software/files/ccc-#{version}.zip"
appcast "https://bombich.com/software/updates/ccc.php?os_major=10&os_minor=14&os_bugfix=0&ccc=#{version.split('.').last}&beta=0"
name 'Carbon Copy Cloner'
homepage 'https://bombich.com/'
auto_updates true
app 'Carbon Copy Cloner.app'
uninstall login_item: 'CCC User Agent',
quit: [
'com.bombich.ccc',
'com.bombich.cccuseragent',
]
zap trash: [
'~/Library/Application Support/com.bombich.ccc',
'~/Library/Caches/com.bombich.ccc',
'~/Library/Preferences/com.bombich.ccc.plist',
'~/Library/Preferences/com.bombich.cccuseragent.plist',
'~/Library/Saved Application State/com.bombich.ccc.savedState',
'/Library/LaunchDaemons/com.bombich.ccchelper.plist',
]
end