homebrew-cask/Casks/karabiner.rb

36 lines
1.7 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'karabiner' do
2016-11-01 01:39:42 +08:00
version '10.22.0'
sha256 'b05560f26b16c19eea076f5589b58124dc9346c69be3df25a23c65c77f6d9554'
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-11-01 01:39:42 +08:00
checkpoint: '38438b15c3af9c23215ac7d23af13c0b32cbc7b06e96ed02f7b50c29b65924b2'
2014-12-11 00:34:45 +08:00
name 'Karabiner'
homepage 'https://pqrs.org/osx/karabiner/'
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/bin/karabiner'
uninstall quit: 'org.pqrs.Karabiner',
pkgutil: 'org.pqrs.Karabiner',
script: {
executable: '/Library/Application Support/org.pqrs/Karabiner/uninstall.sh',
sudo: true,
}
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