36 lines
1007 B
Ruby
36 lines
1007 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.674'
|
|
sha256 '20b6cc1f9636d7d7c081c99b20b133dfd6d81049ae1800254c04b34b3fadf09e'
|
|
|
|
url "https://boastr.net/releases/btt#{version}.zip"
|
|
appcast 'http://appcast.boastr.net',
|
|
checkpoint: '463c010fb81e31bbee36d6804dc51ce719e62bf051cf13831992ea9a23b0e111'
|
|
|
|
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
|