homebrew-cask/Casks/pgadmin4.rb

19 lines
739 B
Ruby

cask 'pgadmin4' do
version '4.2'
sha256 'c58fdcf66c76c975d83806c609956de0915457cba9756f4ab0a8e2f62f62f7a0'
# 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/'
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