homebrew-cask/Casks/postbox.rb

27 lines
1.0 KiB
Ruby

cask 'postbox' do
version '7.0.9'
sha256 'b11fb5c9da8123642b8cdb5b09675484185cc4dc8cb7e30c8b13c5fcd55c4469'
# d3nx85trn0lqsg.cloudfront.net/mac was verified as official when first introduced to the cask
url "https://d3nx85trn0lqsg.cloudfront.net/mac/postbox-#{version}-mac64.dmg"
appcast 'https://www.postbox-inc.com/download/success-mac'
name 'Postbox'
homepage 'https://www.postbox-inc.com/'
depends_on macos: '>= :high_sierra'
app 'Postbox.app'
zap trash: [
'~/Library/Application Support/Postbox',
'~/Library/Application Support/PostboxApp',
'~/Library/Caches/com.crashlytics.data/com.postbox-inc.postbox',
'~/Library/Caches/com.postbox-inc.postbox',
'~/Library/Caches/Postbox',
'~/Library/Caches/PostboxApp',
'~/Library/PDF Services/Mail PDF with Postbox',
'~/Library/Preferences/com.postbox-inc.postbox.plist',
'~/Library/Saved Application State/com.postbox-inc.postbox.savedState',
]
end