cask "cocoapacketanalyzer" do version "4.1.0" sha256 "22e7931eb7217dae5964fb3ea35ff996a54f1b4a6e24535211fc53d8257d43e6" url "https://appcast.tastycocoabytes.com/cpa/downloads/CPA_#{version.no_dots}.dmg" name "Cocoa Packet Analyzer" desc "Network protocol analyzer and packet sniffer" homepage "https://www.tastycocoabytes.com/" livecheck do url "https://appcast.tastycocoabytes.com/cpa/appcast.xml" strategy :sparkle, &:short_version end depends_on macos: :tahoe app "CocoaPacketAnalyzer.app" uninstall delete: [ "/Library/LaunchDaemons/com.tastycocoabytes.cpasniffd.plist", "/Library/PrivilegedHelperTools/com.tastycocoabytes.cpasniffd", ] zap trash: [ "~/Library/Application Scripts/com.tastycocoabytes.CocoaPacketAnalyzer.CPAQLExt", "~/Library/Application Support/CocoaPacketAnalyzer", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tastycocoabytes.cocoapacketanalyzer.sfl*", "~/Library/Containers/com.tastycocoabytes.CocoaPacketAnalyzer.CPAQLExt", "~/Library/Preferences/com.tastycocoabytes.CocoaPacketAnalyzer.plist", "~/Library/Saved Application State/com.tastycocoabytes.CocoaPacketAnalyzer.savedState", ] end