forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarbon-copy-cloner@6.rb
39 lines (33 loc) · 1.16 KB
/
carbon-copy-cloner@6.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
31
32
33
34
35
36
37
38
39
cask "carbon-copy-cloner@6" do
version "6.1.11.7673"
sha256 "4b6763f6417b3b9c012539f0ce73cb674723e96e1d5b1d818dfc0173974472ed"
url "https://bombich.scdn1.secure.raxcdn.com/software/files/ccc-#{version}.zip",
verified: "bombich.scdn1.secure.raxcdn.com/software/files/"
name "Carbon Copy Cloner 6"
desc "Hard disk backup and cloning utility"
homepage "https://bombich.com/"
livecheck do
url "https://api.bombich.com/download/ccc?v=ccc6&l=alternate"
strategy :header_match
end
auto_updates true
conflicts_with cask: [
"carbon-copy-cloner",
"carbon-copy-cloner@5",
]
depends_on macos: ">= :catalina"
app "Carbon Copy Cloner.app"
uninstall quit: [
"com.bombich.ccc",
"com.bombich.cccuseragent",
],
login_item: "CCC User Agent"
zap trash: [
"/Library/LaunchDaemons/com.bombich.ccchelper.plist",
"~/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",
]
end