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

29 lines
1.0 KiB
Ruby

cask "a-better-finder-attributes" do
version "7.33"
sha256 "0076f4601a64d950eff445d3fd06ae9cd0f6373fd05b2c072792690c89d47b12"
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