homebrew-cask/Casks/things.rb

31 lines
1.3 KiB
Ruby

cask 'things' do
version '2.8.11'
sha256 'd3abebdb1e9e4bd96f29fc82db1f3e98d376ed28e1a0ff06c60a6fdbf9f1b177'
# culturedcode.cachefly.net was verified as official when first introduced to the cask
url "https://culturedcode.cachefly.net/things/Things_#{version}.zip"
appcast 'https://culturedcode.cachefly.net/things/sparkle/sparkle_en.xml',
checkpoint: '6b554d7c6e413acdc68fe9be5ffb7d43cdc0f5d1af275f3a59fad9e2dbc19779'
name 'Things'
homepage 'https://culturedcode.com/things/'
app 'Things.app'
postflight do
suppress_move_to_applications key: 'suppressMoveToApplications'
end
zap delete: [
'~/Library/Preferences/com.culturedcode.things.plist',
'~/Library/Application Support/Cultured Code',
'~/Library/Containers/com.culturedcode.things',
'~/Library/Containers/com.culturedcode.things.ActionExtension',
'~/Library/Containers/com.culturedcode.things.ShareExtension',
'~/Library/Containers/com.culturedcode.things.TodayExtension',
'~/Library/Containers/com.culturedcode.thingsreminders',
'~/Library/Metadata/com.culturedcode.things',
'~/Library/Caches/com.culturedcode.things',
'~/Library/Caches/com.plausiblelabs.crashreporter.data/com.culturedcode.things',
]
end