homebrew-cask/Casks/n/navicat-for-postgresql.rb

25 lines
786 B
Ruby

cask "navicat-for-postgresql" do
version "17.0.9"
sha256 :no_check
url "https://dn.navicat.com/download/navicat#{version.major_minor.no_dots}_pgsql_en.dmg"
name "Navicat for PostgreSQL"
desc "Database administration and development tool for PostgreSQL"
homepage "https://www.navicat.com/products/navicat-for-postgresql"
livecheck do
cask "navicat-premium"
end
depends_on macos: ">= :mojave"
app "Navicat for PostgreSQL.app"
zap trash: [
"~/Library/Application Support/PremiumSoft CyberTech/Navicat CC/Navicat for PostgreSQL",
"~/Library/Caches/com.apple.helpd/Generated/Navicat Help*",
"~/Library/Preferences/com.navicat.NavicatForPostgreSQL.plist",
"~/Library/Saved Application State/com.navicat.NavicatForPostgreSQL.savedState",
]
end