20 lines
801 B
Ruby
20 lines
801 B
Ruby
cask 'pgadmin4' do
|
|
version '4.12'
|
|
sha256 '20fd85dd65ffe8149c610aa1b10cab94984f5c7a471f115ec3d8390e8ac2b245'
|
|
|
|
# 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"
|
|
appcast 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/'
|
|
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
|