homebrew-cask/Casks/bettertouchtool.rb

33 lines
984 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'bettertouchtool' do
if MacOS.release <= :snow_leopard
version '0.939'
sha256 'fad5e9d36259c379bdb33188cf15d179fd9ff73023035c98f5734e7e3e13bb75'
# bettertouchtool.com is the official download host per the vendor homepage
2015-01-04 22:44:33 +08:00
url "http://bettertouchtool.net/btt#{version}.zip"
else
2016-01-07 02:28:42 +08:00
version '1.5b'
sha256 'f6408c0ba48588cd547bef4abdcfd723af5133af141f9f7a146d9ee7721f86e6'
url "http://boastr.net/releases/btt#{version}.zip"
appcast 'http://appcast.boastr.net',
2016-01-07 02:28:42 +08:00
:sha256 => '52653a90c3c0940803325ac01aca538f7f8b431e4bca9dfa664489a16bc83d4f'
end
2015-01-10 04:29:29 +08:00
name 'BetterTouchTool'
homepage 'http://boastr.net/'
license :gratis
2015-12-29 00:19:21 +08:00
auto_updates true
accessibility_access true
2015-12-29 00:19:21 +08:00
2014-09-16 00:05:18 +08:00
app 'BetterTouchTool.app'
2014-11-22 22:24:18 +08:00
uninstall :login_item => 'BetterTouchTool'
2014-09-18 19:57:54 +08:00
zap :delete => [
'~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
'~/Library/Application Support/BetterTouchTool',
2014-09-18 19:57:54 +08:00
]
2012-11-15 04:08:28 +08:00
end