cask "tor-browser" do version "14.0.2" sha256 "30fa5828ec6bfc6e3252c3e33468ba8e11aa4891aa03dd591ec8f3dc3a3afe11" url "https://archive.torproject.org/tor-package-archive/torbrowser/#{version}/tor-browser-macos-#{version}.dmg" name "Tor Browser" desc "Web browser focusing on security" homepage "https://www.torproject.org/" livecheck do url "https://www.torproject.org/download/" regex(%r{href=.*?/tor[._-]browser[._-]macos[._-]v?(\d+(?:.\d+)*)\.dmg}i) end auto_updates true conflicts_with cask: "tor-browser@alpha" depends_on macos: ">= :sierra" app "Tor Browser.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.tor browser.sfl*", "~/Library/Application Support/TorBrowser-Data", "~/Library/Preferences/org.mozilla.tor browser.plist", "~/Library/Preferences/org.torproject.torbrowser.plist", "~/Library/Saved Application State/org.torproject.torbrowser.savedState", ] end