Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / h / hackolade.rb
blob1eb65a8cb0108f81504dd9d429caff31bf1d2cd4
1 cask "hackolade" do
2   arch arm: "ARM64"
4   version "7.9.10"
5   sha256 arm:   "04467ea4f7dffa5ecf7092eee20af23b7c0226afae84912924dd5e3894ae271f",
6          intel: "d58005438a1f5cca68f8f47c70e33db1688478767f25d8f27474b5664596923a"
8   url "https://hackolade.s3.amazonaws.com/previous/v#{version}/Hackolade-mac#{arch}-setup-signed.pkg",
9       verified: "hackolade.s3.amazonaws.com/"
10   name "Hackolade"
11   desc "Polyglot data modelling software"
12   homepage "https://hackolade.com/"
14   livecheck do
15     url "https://hackolade.com/download.html"
16     regex(/Current\sversion:\sv?(\d+(?:\.\d+)+)/i)
17   end
19   pkg "Hackolade-mac#{arch}-setup-signed.pkg"
21   uninstall pkgutil: "com.hackolade.pkg.Hackolade"
23   zap trash: [
24     "~/Library/Application Support/Hackolade",
25     "~/Library/Preferences/com.electron.hackolade.plist",
26     "~/Library/Saved Application State/com.electron.hackolade.savedState",
27   ]
28 end