phinze/homebrew-cask

View on GitHub
Casks/t/techsmith-capture.rb

Summary

Maintainability
A
45 mins
Test Coverage
cask "techsmith-capture" do
  version "1.3.31"
  sha256 :no_check

  url "https://cdn.cloud.techsmith.com/techsmithcapture/mac/TechSmithCapture.dmg"
  name "TechSmith Capture"
  desc "Screen capture software"
  homepage "https://www.techsmith.com/jing-tool.html"

  livecheck do
    url "https://assets.techsmith.com/techsmithcapture/mac/TechSmithCaptureAppcast.xml"
    strategy :sparkle, &:short_version
  end

  auto_updates true
  depends_on macos: ">= :catalina"

  app "TechSmith Capture.app"

  zap trash: [
    "~/Library/Application Support/com.techsmith.relayrecorder",
    "~/Library/Application Support/TechSmith",
    "~/Library/Caches/com.techsmith.relayrecorder",
    "~/Library/HTTPStorages/com.techsmith.relayrecorder",
    "~/Library/HTTPStorages/com.techsmith.relayrecorder.binarycookies",
    "~/Library/Preferences/com.techsmith.relayrecorder.plist",
    "~/Library/Saved Application State/com.techsmith.relayrecorder.savedState",
  ]
end