cask "tableau-reader" do arch arm: "-arm64" version "2024.2.3" sha256 arm: "3c205a94a82db6481be75395bd406d0a7109b1d16b853acbbb1958038a607d4f", intel: "19bf1425bb3cfb048b97834affa501a59a0525e0fb78bd280e8ad747229e33c6" url "https://downloads.tableau.com/esdalt/#{version}/TableauReader-#{version.dots_to_hyphens}#{arch}.pkg", user_agent: "curl/8.7.1" 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 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