homebrew-cask/Casks/bettertouchtool.rb

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.56'
sha256 'f805e9976c235071a982ee5ce3dd40a2b6498f1328d2f6c065552e68fc3266c6'
url "https://boastr.net/releases/btt#{version}.zip"
appcast 'http://appcast.boastr.net',
checkpoint: '2af0b4ec634b0086d255ea9715388bf454a9c8d1ad352b0e47ffd5a676b2a0e4'
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