homebrew-cask/Casks/a/a-better-finder-attributes.rb

29 lines
1.0 KiB
Ruby

cask "a-better-finder-attributes" do
version "7.31"
sha256 "53a658b8c11e59f9d569ab62558762b5abf7647c5fbd71d6cc0a3088aaaceb29"
url "https://www.publicspace.net/download/signedABFA#{version.major}.zip"
name "A Better Finder Attributes"
desc "File and photo tweaking tool"
homepage "https://www.publicspace.net/ABetterFinderAttributes/"
livecheck do
url "https://www.publicspace.net/app/signed_abfa#{version.major}.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :catalina"
app "A Better Finder Attributes #{version.major}.app"
zap trash: [
"~/Library/Caches/net.publicspace.abfa#{version.major}",
"~/Library/Cookies/net.publicspace.abfa#{version.major}.binarycookies",
"~/Library/HTTPStorages/net.publicspace.abfa#{version.major}",
"~/Library/HTTPStorages/net.publicspace.abfa#{version.major}.binarycookies",
"~/Library/Preferences/net.publicspace.abfa#{version.major}.plist",
"~/Library/Saved Application State/net.publicspace.abfa#{version.major}.savedState",
]
end