cask 'pgadmin4' do version '3.5' sha256 '2ccc1a74fb4d5572644f58d4374625404c8d6e85d829b6ad8faa0f6315be1140' # 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