24 lines
1.0 KiB
Ruby
24 lines
1.0 KiB
Ruby
cask 'postbox' do
|
|
version '5.0.20,1_5a07ebc81657bec0021d97411f131f0b0da7f99c'
|
|
sha256 'efdd3c61ed4e95baf121d18d95a648d0417cb207054ac853a4c39c15b2256dc2'
|
|
|
|
# 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 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
|