cask "runtimeviewer" do version "2.1.2" sha256 "0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2" url "https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v#{version}/RuntimeViewer-macOS.zip" name "RuntimeViewer" desc "Inspect Objective-C and Swift runtime interfaces" homepage "https://github.com/MxIris-Reverse-Engineering/RuntimeViewer" livecheck do url "https://mxiris-reverse-engineering.github.io/RuntimeViewer/appcast.xml" strategy :sparkle do |items| items.find { |item| item.channel.nil? }&.short_version end end auto_updates true depends_on macos: :sequoia app "RuntimeViewer.app" zap trash: [ "/Library/LaunchDaemons/com.JH.RuntimeViewerService.plist", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.jh.runtimeviewer.sfl*", "~/Library/Application Support/RuntimeViewer", "~/Library/Caches/com.JH.RuntimeViewer", "~/Library/HTTPStorages/com.JH.RuntimeViewer", "~/Library/Preferences/com.JH.RuntimeViewer.plist", "~/Library/Saved Application State/com.JH.RuntimeViewerCatalystHelper~iosmac.savedState", ] end