Casks/b/beyond-compare.rb
cask "beyond-compare" do
version "5.0.2.30045"
sha256 "b1b90d36ba0d5baefec67ef823c3923ae7ea29c38224ed44214e2df9868a35fc"
url "https://www.scootersoftware.com/files/BCompareOSX-#{version}.zip"
name "Beyond Compare"
desc "Compare files and folders"
homepage "https://www.scootersoftware.com/"
livecheck do
url "https://www.scootersoftware.com/download"
regex(/BCompareOSX[_.-]v?(\d+(?:\.\d+)+)\.zip/i)
end
auto_updates true
conflicts_with cask: "beyond-compare@beta"
app "Beyond Compare.app"
binary "#{appdir}/Beyond Compare.app/Contents/MacOS/bcomp"
zap trash: [
"~/Library/Application Support/Beyond Compare*",
"~/Library/Caches/com.apple.helpd/Generated/Beyond Compare Help*",
"~/Library/Caches/com.apple.helpd/Generated/com.ScooterSoftware.BeyondCompare.help*",
"~/Library/Caches/com.ScooterSoftware.BeyondCompare",
"~/Library/Containers/com.ScooterSoftware.BeyondCompare.BCFinder",
"~/Library/Preferences/com.ScooterSoftware.BeyondCompare.plist",
"~/Library/Saved Application State/com.ScooterSoftware.BeyondCompare.savedState",
]
end