29 lines
795 B
Ruby
29 lines
795 B
Ruby
cask "tableau-public" do
|
|
version "2021.4.3"
|
|
sha256 "183a7d27495bd1eb5e2c4042542f3e40ccb6205cb0e7eac0312f24f1043babca"
|
|
|
|
url "https://downloads.tableau.com/public/TableauPublic-#{version.dots_to_hyphens}.dmg"
|
|
name "Tableau Public"
|
|
desc "Explore, create and publicly share data visualizations online"
|
|
homepage "https://public.tableau.com/s/"
|
|
|
|
livecheck do
|
|
url "https://www.tableau.com/downloads/public/mac"
|
|
strategy :header_match do |headers|
|
|
headers["location"][/-(\d+(?:-\d+)+)\.dmg/i, 1].tr("-", ".")
|
|
end
|
|
end
|
|
|
|
pkg "Tableau Public.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.tableausoftware.FLEXNet.*",
|
|
"com.tableausoftware.Public.app",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Caches/com.tableau.caching",
|
|
"~/Library/Caches/com.tableausoftware.MapTiles",
|
|
]
|
|
end
|