cask "hackolade" do arch arm: "ARM64" version "7.8.5" sha256 arm: "518097f1b91baedcf8f390cd8fe1a7e12126085ead6c7907e6cb8a3eaa43a46a", intel: "ed821f35cc31e8ffd9f2582399d6da57de34bad5319ade0ab7576addbaf47ffa" url "https://hackolade.s3.amazonaws.com/previous/v#{version}/Hackolade-mac#{arch}-setup-signed.pkg", verified: "hackolade.s3.amazonaws.com/" name "Hackolade" desc "Polyglot data modelling software" homepage "https://hackolade.com/" livecheck do url "https://hackolade.com/download.html" regex(/Current\sversion:\sv?(\d+(?:\.\d+)+)/i) end pkg "Hackolade-mac#{arch}-setup-signed.pkg" uninstall pkgutil: "com.hackolade.pkg.Hackolade" zap trash: [ "~/Library/Application Support/Hackolade", "~/Library/Preferences/com.electron.hackolade.plist", "~/Library/Saved Application State/com.electron.hackolade.savedState", ] end