cask "tableau-reader" do arch arm: "-arm64" version "2026.3.0" sha256 arm: "b30531b931d3a427de2d7855de0068f6ecd3261c698757b55684e2b0cd12f148", intel: "1379c245d28821d6bb92524bf78de26d073a4c58557249a75ee0bf4c81bdcb49" url "https://downloads.tableau.com/esdalt/#{version}/TableauReader-#{version.dots_to_hyphens}#{arch}.pkg", user_agent: :curl name "Tableau Reader" desc "Open and interact with data visualisations built in Tableau Desktop" homepage "https://www.tableau.com/products/reader" livecheck do cask "tableau" end depends_on macos: :ventura pkg "TableauReader-#{version.dots_to_hyphens}#{arch}.pkg" uninstall pkgutil: [ "com.tableausoftware.FLEXNet.*", "com.tableausoftware.Reader.app", "com.tableausoftware.ReaderShortcuttab", ] zap pkgutil: [ "com.tableausoftware.extensions", "com.tableausoftware.networkExtensions", "com.tableausoftware.telemetry", ], delete: "/Library/Preferences/com.tableau.Tableau-Reader-*.plist", trash: [ "~/Library/Caches/com.tableau.caching", "~/Library/Caches/com.tableausoftware.MapTiles", "~/Library/Preferences/com.tableau.Tableau-*.plist", "~/Library/Preferences/com.tableau.Tableau-Reader-*.plist", "~/Library/Saved Application State/com.tableausoftware.tableaureader.savedState", "~/Library/Tableau", ] end