homebrew-cask/Casks/w/waterfox.rb

26 lines
784 B
Ruby

cask "waterfox" do
version "6.0"
sha256 "d4b9f237e5568e21d2714e5fa7d1a762f48751bfd6a78ec25ffea48538f12893"
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