homebrew-cask/Casks/waterfox.rb

26 lines
786 B
Ruby

cask "waterfox" do
version "5.1.3"
sha256 "76462ea594ba4a6ace3217e02bccc116d434bf0ddd1b340f55d2c2bcaf29f485"
url "https://cdn1.waterfox.net/waterfox/releases/G#{version}/Darwin_x86_64-aarch64/Waterfox%20G#{version}.dmg"
name "Waterfox"
desc "Web browser"
homepage "https://www.waterfox.net/"
livecheck do
url "https://cdn1.waterfox.net/waterfox/releases/latest/macos"
strategy :header_match
end
depends_on macos: ">= :sierra"
app "Waterfox.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.waterfox.sfl*",
"~/Library/Application Support/Waterfox",
"~/Library/Caches/Waterfox",
"~/Library/Preferences/org.waterfoxproject.waterfox.plist",
]
end