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