2016-10-10 07:15:26 +08:00
|
|
|
cask 'pgadmin4' do
|
2018-04-14 00:26:14 +08:00
|
|
|
version '3.0'
|
|
|
|
sha256 '9c0b6e68655f0c10fb457f66f173e62cde6e745e28033ed06849fd157b72dc04'
|
2016-10-10 07:15:26 +08:00
|
|
|
|
|
|
|
# ftp.postgresql.org was verified as official when first introduced to the cask
|
2017-04-14 08:22:38 +08:00
|
|
|
url "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v#{version}/macos/pgadmin4-#{version}.dmg"
|
2016-10-10 07:15:26 +08:00
|
|
|
name 'pgAdmin4'
|
2017-05-21 10:39:06 +08:00
|
|
|
homepage 'https://www.pgadmin.org/'
|
2016-11-28 07:43:17 +08:00
|
|
|
gpg "#{url}.sig", key_id: 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
|
2016-10-10 07:15:26 +08:00
|
|
|
|
|
|
|
app 'pgAdmin 4.app'
|
|
|
|
|
2017-11-18 17:58:10 +08:00
|
|
|
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',
|
|
|
|
]
|
2016-10-10 07:15:26 +08:00
|
|
|
end
|