24 lines
1.0 KiB
Ruby
24 lines
1.0 KiB
Ruby
cask 'postbox' do
|
|
version '5.0.11,1_9bf4713495a1c26efdd0fff6890381f3916acf4e'
|
|
sha256 'a9e283beccf20bbc13c12e7f023e6a330ee6853e2cb3d2c41fca377c1764434b'
|
|
|
|
# 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
|