homebrew-cask/Casks/karabiner.rb

33 lines
1.7 KiB
Ruby

cask 'karabiner' do
version '10.15.0'
sha256 '91f3f8709103213fbcaedc352feb135fa0a5c55cda9643135b532bc453acf89e'
url "https://pqrs.org/osx/karabiner/files/Karabiner-#{version}.dmg"
appcast 'https://pqrs.org/osx/karabiner/files/appcast.xml',
checkpoint: 'e0a355ef67c83a15a8775ddf5b8c5c9fefeca4f6fd5197af550a77ace671e33b'
name 'Karabiner'
homepage 'https://pqrs.org/osx/karabiner/'
license :public_domain
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',
]
end