20 lines
810 B
Ruby
20 lines
810 B
Ruby
cask 'pgadmin4' do
|
|
version '2.1'
|
|
sha256 'd9deda1d12f199c2dd29c4b9dee5fc3c6158237976bc822b2540c0bfc4b2220e'
|
|
|
|
# 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://www.pgadmin.org/'
|
|
gpg "#{url}.sig", key_id: 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
|
|
|
|
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
|