24 lines
1.0 KiB
Ruby
24 lines
1.0 KiB
Ruby
cask 'postbox' do
|
|
version '6.0.6,1_791ca5d8da0583340c515aff3f1501c0061559af'
|
|
sha256 'eafe4359fbb5e0311556911343fb8dea8e12f1254ce2a765f5faa8449fdc9671'
|
|
|
|
# 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: '>= :el_capitan'
|
|
|
|
app 'Postbox.app'
|
|
|
|
zap trash: [
|
|
'~/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
|