homebrew-cask/Casks/karabiner.rb

35 lines
1.7 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'karabiner' do
2016-06-16 03:55:56 +08:00
version '10.20.0'
sha256 '5dfbd535a6b7b1fbbecc98b8377af909f8f3a27f9752c1d960a3aa2e5fdd90dd'
2014-07-23 11:19:05 +08:00
url "https://pqrs.org/osx/karabiner/files/Karabiner-#{version}.dmg"
appcast 'https://pqrs.org/osx/karabiner/files/appcast.xml',
2016-06-16 03:55:56 +08:00
checkpoint: 'fa74e97ee107ab13354b126bc63a6e65c1a72f49c541d2b63d77cee939d0236f'
2014-12-11 00:34:45 +08:00
name 'Karabiner'
homepage 'https://pqrs.org/osx/karabiner/'
license :public_domain
2016-02-10 07:55:44 +08:00
auto_updates true
2015-08-12 21:23:13 +08:00
pkg 'Karabiner.sparkle_guided.pkg'
binary '/Applications/Karabiner.app/Contents/Library/vendor/bin/blueutil'
binary '/Applications/Karabiner.app/Contents/Library/utilities/bin/warp-mouse-cursor-position'
uninstall quit: 'org.pqrs.Karabiner',
pkgutil: 'org.pqrs.driver.Karabiner',
kext: 'org.pqrs.driver.Karabiner'
zap delete: [
'~/Library/Application Support/Karabiner',
'~/Library/Application Support/KeyRemap4MacBook',
'~/Library/Caches/org.pqrs.KeyRemap4MacBook',
'~/Library/Preferences/org.pqrs.Karabiner-AXNotifier.plist',
'~/Library/Preferences/org.pqrs.Karabiner.multitouchextension.plist',
'~/Library/Preferences/org.pqrs.Karabiner.plist',
'~/Library/Preferences/org.pqrs.Karabiner.EventViewer.plist',
'~/Library/Caches/org.pqrs.Karabiner',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.pqrs.karabine.sfl',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.pqrs.karabine.eventviewer.sfl',
]
2014-07-10 13:28:06 +08:00
end