homebrew-cask/Casks/betterzip.rb

29 lines
1.3 KiB
Ruby

cask "betterzip" do
version "5.0.2"
sha256 "ebbf0faa10d2089eedfe95f17c68d115c07fc2aeacf437d9d51af8d51d00244b"
# macitbetter.s3.amazonaws.com/ was verified as official when first introduced to the cask
url "https://macitbetter.s3.amazonaws.com/BetterZip-#{version}.zip"
appcast "https://macitbetter.com/BetterZip#{version.major}.rss"
name "BetterZip"
homepage "https://macitbetter.com/"
auto_updates true
depends_on macos: ">= :high_sierra"
app "BetterZip.app"
zap trash: [
"~/Library/Application Scripts/com.macitbetter.betterzip.findersyncextension",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.macitbetter.betterzip.sfl*",
"~/Library/Application Support/com.macitbetter.betterzip",
"~/Library/Caches/com.apple.helpd/Generated/com.macitbetter.betterzip.help*",
"~/Library/Caches/com.macitbetter.betterzip",
"~/Library/Containers/com.macitbetter.betterzip.findersyncextension",
"~/Library/Group Containers/79RR9LPM2N.group.com.macitbetter.betterzip",
"~/Library/Group Containers/79RR9LPM2N.group.com.macitbetter.betterzip-setapp",
"~/Library/Preferences/com.macitbetter.betterzip.plist",
"~/Library/Saved Application State/com.macitbetter.betterzip.savedState",
]
end