mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
32 lines
940 B
Ruby
32 lines
940 B
Ruby
cask "dbeaver-community" do
|
|
arch arm: "aarch64", intel: "x86_64"
|
|
|
|
version "23.3.0"
|
|
sha256 arm: "5558712cd9a2e62a62de42c1267f155c44025f600df8e0bc8aa9307cd37c2bb6",
|
|
intel: "4234592383595c569acdc747244713a58b112f137d7337220b660759c073e34e"
|
|
|
|
url "https://dbeaver.io/files/#{version}/dbeaver-ce-#{version}-macos-#{arch}.dmg"
|
|
name "DBeaver Community Edition"
|
|
desc "Universal database tool and SQL client"
|
|
homepage "https://dbeaver.io/"
|
|
|
|
livecheck do
|
|
url "https://dbeaver.io/product/dbeaver-ce-version.xml"
|
|
strategy :xml do |xml|
|
|
xml.get_elements("version/number").first&.text&.strip
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "DBeaver.app"
|
|
|
|
uninstall signal: ["TERM", "org.jkiss.dbeaver.core.product"]
|
|
|
|
zap trash: [
|
|
"~/Library/DBeaverData",
|
|
"~/Library/Preferences/org.jkiss.dbeaver.core.product.plist",
|
|
"~/Library/Saved Application State/org.jkiss.dbeaver.core.product.savedState",
|
|
]
|
|
end
|