homebrew-cask/Casks/pgadmin4.rb

20 lines
812 B
Ruby

cask 'pgadmin4' do
version '1.4'
sha256 '51ab67d5b6ab5067f47171a1ccac20b837b302eb0cbfd8395b36f1c705573d73'
# ftp.postgresql.org was verified as official when first introduced to the cask
url "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v#{version}/macos/pgadmin4-#{version}.dmg"
name 'pgAdmin4'
homepage 'https://pgadmin.org/'
gpg "#{url}.sig", key_id: 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
app 'pgAdmin 4.app'
zap delete: [
'~/.pgadmin',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.pgadmin.pgadmin4.sfl',
'~/Library/Preferences/org.pgadmin.pgAdmin 4.plist',
'~/Library/Saved Application State/org.pgadmin.pgAdmin4.savedState',
]
end