forked from Homebrew/homebrew-cask-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beyond-compare-beta.rb
30 lines (25 loc) 路 1.09 KB
/
beyond-compare-beta.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 "beyond-compare-beta" do
version "5.0.0.29206"
sha256 "31ba8514cd342ccf03111dd6c22f9ec8bf8c2356927b6bee01b1284bea19ca40"
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/beta/download"
regex(/BCompareOSX[_.-]v?(\d+(?:\.\d+)+)\.zip/i)
end
auto_updates true
conflicts_with cask: "beyond-compare"
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