36 lines
1006 B
Ruby
36 lines
1006 B
Ruby
cask 'bettertouchtool' do
|
|
if MacOS.release <= :snow_leopard
|
|
version '0.939'
|
|
sha256 'fad5e9d36259c379bdb33188cf15d179fd9ff73023035c98f5734e7e3e13bb75'
|
|
|
|
# bettertouchtool.net was verified as official when first introduced to the cask
|
|
url "https://bettertouchtool.net/btt#{version}.zip"
|
|
|
|
license :gratis
|
|
else
|
|
version '1.55'
|
|
sha256 'ca5abf05ef6f12a1a0a137eeb1fde636d85703b597878ca885f6e3ba5221ebdc'
|
|
|
|
url "https://boastr.net/releases/btt#{version}.zip"
|
|
appcast 'http://appcast.boastr.net',
|
|
checkpoint: '2c3dfff592a79367230fde4045616f3b8b4707644e34c00977633e94026903d3'
|
|
|
|
license :commercial
|
|
end
|
|
|
|
name 'BetterTouchTool'
|
|
homepage 'https://boastr.net/'
|
|
|
|
auto_updates true
|
|
accessibility_access true
|
|
|
|
app 'BetterTouchTool.app'
|
|
|
|
uninstall login_item: 'BetterTouchTool'
|
|
|
|
zap delete: [
|
|
'~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
|
|
'~/Library/Application Support/BetterTouchTool',
|
|
]
|
|
end
|