homebrew-cask/Casks/w/waterfox.rb

26 lines
787 B
Ruby

cask "waterfox" do
version "5.1.12"
sha256 "e9784e8d4606b121799ab5fc58e35c8eb18ef151beb9bb172145ce608547d18c"
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