homebrew-cask/Casks/carbon-copy-cloner.rb

31 lines
1.1 KiB
Ruby

cask "carbon-copy-cloner" do
version "5.1.24.6142"
sha256 "aa0ff702e94409c69bbac1aa1551583980e610ea18186d2d88c385da22e61f0c"
url "https://bombich.scdn1.secure.raxcdn.com/software/files/ccc-#{version}.zip",
verified: "bombich.scdn1.secure.raxcdn.com/software/files/"
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"
desc "Hard disk backup and cloning utility"
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