homebrew-cask/Casks/bettertouchtool.rb

36 lines
1002 B
Ruby

cask 'bettertouchtool' do
if MacOS.release <= :snow_leopard
version '0.939'
sha256 'fad5e9d36259c379bdb33188cf15d179fd9ff73023035c98f5734e7e3e13bb75'
# bettertouchtool.com is the official download host per the vendor homepage
url "https://bettertouchtool.net/btt#{version}.zip"
license :gratis
else
version '1.52b'
sha256 '261465cdbb91a539717c0291dcc02d00cf479fe2fea57c0b24acaa644f3c1b01'
url "https://boastr.net/releases/btt#{version}.zip"
appcast 'http://appcast.boastr.net',
checkpoint: '9a5c29f3574c81104f5becc3831cc0b96a43c3b7a11a6fc7b608fccbed4f4704'
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