phinze/homebrew-cask

View on GitHub
Casks/r/requestly.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "requestly" do
  arch arm: "-arm64"

  version "1.7.3"
  sha256 arm:   "88c953dc56179fb8ef6c61a411ba123223bfd6c13b1efd5311c6d8931115c8ed",
         intel: "5f6491940f38e4472ad30124a26ccb9c6622498cf10776880cbc154e93189d45"

  url "https://github.com/requestly/requestly-desktop-app/releases/download/v#{version}/Requestly-#{version}#{arch}.dmg",
      verified: "github.com/requestly/requestly-desktop-app/"
  name "Requestly"
  desc "Intercept and modify HTTP requests"
  homepage "https://requestly.com/"

  depends_on macos: ">= :high_sierra"

  app "Requestly.app"

  zap trash: [
    "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/io.requestly*.sfl*",
    "~/Library/Application Support/Requestly",
    "~/Library/Logs/Requestly",
    "~/Library/Preferences/io.requestly.*.plist",
    "~/Library/Saved Application State/io.requestly.*.savedState",
  ]
end