mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
28 lines
982 B
Ruby
28 lines
982 B
Ruby
cask "pgadmin4" do
|
|
arch arm: "arm64", intel: "x86_64"
|
|
|
|
version "8.0"
|
|
sha256 arm: "61edc30a9bbd128db96ba138aafabc62c8f3b9f2dbb1f8a8c48feb23a6bf4e34",
|
|
intel: "d78f5a39b8ad4db958433426346460529952b5f0a6eb307a579dd803ab149e99"
|
|
|
|
url "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v#{version}/macos/pgadmin4-#{version}-#{arch}.dmg",
|
|
verified: "ftp.postgresql.org/pub/pgadmin/pgadmin4/"
|
|
name "pgAdmin4"
|
|
desc "Administration and development platform for PostgreSQL"
|
|
homepage "https://www.pgadmin.org/"
|
|
|
|
livecheck do
|
|
url "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/"
|
|
regex(/href="v?(\d+(?:\.\d+)+)/i)
|
|
end
|
|
|
|
app "pgAdmin 4.app"
|
|
|
|
zap trash: [
|
|
"~/.pgadmin",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.pgadmin.pgadmin4.sfl*",
|
|
"~/Library/Preferences/org.pgadmin.pgadmin4.plist",
|
|
"~/Library/Saved Application State/org.pgadmin.pgAdmin4.savedState",
|
|
]
|
|
end
|