excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / h / hackolade.rb
blobeac19097ed03fc603982199e378fc71cdddb7ce6
1 cask "hackolade" do
2   arch arm: "ARM64"
4   version "7.9.0"
5   sha256 arm:   "cfbc8a223afc40f42dc7138ce68c1f914680b1b49e5af0e27257e08ecbb01a6c",
6          intel: "4e8ca73cc62ab668cdbee3032b968c873b9b45095c4158dcbc2e4689acb5ac11"
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