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.75'
|
|
sha256 '53e8a8dd2eb124a00e1bb11c59874d6122eba29ed732cadc0702732bf019b279'
|
|
|
|
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
|