cask "onionshare" do version "2.6.3" sha256 "ba0d7c7a79cc4d9253f9591db9872f45ebdf2e9ca751f873af1a4ffcef9d1a05" url "https://onionshare.org/dist/#{version}/OnionShare-#{version}.dmg" name "OnionShare" desc "Securely and anonymously share files, host websites, and chat with friends" homepage "https://onionshare.org/" livecheck do url :homepage regex(/href=.*?OnionShare[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end no_autobump! because: :requires_manual_review app "OnionShare.app" zap trash: [ "~/Library/Application Support/OnionShare", "~/Library/Preferences/org.onionshare.onionshare.plist", "~/Library/Saved Application State/org.onionshare.onionshare.savedState", ] end