homebrew-cask/Casks/bettertouchtool.rb

36 lines
1007 B
Ruby

cask 'bettertouchtool' do
if MacOS.version <= :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.86g'
sha256 '8607e1069282654cd7de2f3073a3c89f910db86439677d61518459b750d8df7f'
url "https://boastr.net/releases/btt#{version}.zip"
appcast 'http://appcast.boastr.net',
checkpoint: '4e8f1aa8caa162a4c742ca5f237dae7c75216bd945c1bce1eb7b51dd45839124'
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