cask "http-toolkit" do arch arm: "arm64", intel: "x64" version "1.20.1" sha256 arm: "b9bdb37ab02cc4a818e033f0213437830dc980d6126d22377c5beb61197d538c", intel: "1c7a014e6b135745fab6ced49052154d347d139434dd654fc6feabee4c25e1a7" url "https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v#{version}/HttpToolkit-#{version}-#{arch}.dmg", verified: "github.com/httptoolkit/httptoolkit-desktop/" name "HTTP Toolkit" desc "HTTP(S) debugging proxy, analyzer, and client" homepage "https://httptoolkit.tech/" livecheck do url :url strategy :github_latest end depends_on macos: ">= :catalina" app "HTTP Toolkit.app" zap trash: [ "~/Library/Application Support/HTTP Toolkit", "~/Library/Caches/httptoolkit-server", "~/Library/Logs/HTTP Toolkit", "~/Library/Preferences/httptoolkit", "~/Library/Preferences/tech.httptoolkit.desktop.plist", "~/Library/Saved Application State/tech.httptoolkit.desktop.savedState", ] end