23 lines
606 B
Ruby
23 lines
606 B
Ruby
cask "tableau-public" do
|
|
version "2020.4.0"
|
|
sha256 "3c19656d9832427ff5d7be88c8069dec280e31315c444434b6d82940ac504fc4"
|
|
|
|
url "https://downloads.tableau.com/public/TableauPublic-#{version.dots_to_hyphens}.dmg"
|
|
name "Tableau Public"
|
|
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+-\d+)\.dmg/i, 1].tr("-", ".")
|
|
end
|
|
end
|
|
|
|
pkg "Tableau Public.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.tableausoftware.FLEXNet.*",
|
|
"com.tableausoftware.Public.app",
|
|
]
|
|
end
|