homebrew-cask/Casks/postbox.rb

24 lines
1.0 KiB
Ruby

cask 'postbox' do
version '5.0.15,1_4adb5f16e3512a55ba2377a4dc420b193e6d13af'
sha256 '9228c6c0a4a01fa29e427d8455ae2d254d07fea7a92a144502ed4f8052f53099'
# amazonaws.com/download.getpostbox.com was verified as official when first introduced to the cask
url "https://s3.amazonaws.com/download.getpostbox.com/installers/#{version.before_comma}/#{version.after_comma}/postbox-#{version.before_comma}-mac64.dmg"
name 'Postbox'
homepage 'https://www.postbox-inc.com/'
depends_on macos: '>= :mavericks'
app 'Postbox.app'
zap delete: [
'~/Library/Application Support/Postbox',
'~/Library/Caches/com.crashlytics.data/com.postbox-inc.postbox',
'~/Library/Caches/com.postbox-inc.postbox',
'~/Library/Caches/Postbox',
'~/Library/PDF Services/Mail PDF with Postbox',
'~/Library/Preferences/com.postbox-inc.postbox.plist',
'~/Library/Saved Application State/com.postbox-inc.postbox.savedState',
]
end