30 lines
1.2 KiB
Ruby
30 lines
1.2 KiB
Ruby
cask 'karabiner-elements' do
|
|
version '0.90.92'
|
|
sha256 'a83416c8ce5ab8b475deed0f73c600bfd9b637efacd336c75cbf53c08d1adaf1'
|
|
|
|
url "https://pqrs.org/osx/karabiner/files/Karabiner-Elements-#{version}.dmg"
|
|
appcast 'https://pqrs.org/osx/karabiner/files/karabiner-elements-appcast.xml',
|
|
checkpoint: '8132d8597adf6ac339402795c06f2c103835412b9ecfeb1ba2fd8f1aee8b5723'
|
|
name 'Karabiner Elements'
|
|
homepage 'https://pqrs.org/osx/karabiner/'
|
|
|
|
auto_updates true
|
|
|
|
pkg 'Karabiner-Elements.sparkle_guided.pkg'
|
|
|
|
uninstall quit: 'org.pqrs.Karabiner-Elements',
|
|
pkgutil: 'org.pqrs.Karabiner-Elements',
|
|
script: {
|
|
executable: '/Library/Application Support/org.pqrs/Karabiner-Elements/uninstall.sh',
|
|
sudo: true,
|
|
}
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/Karabiner-Elements',
|
|
'~/.karabiner.d',
|
|
'~/.config/karabiner',
|
|
'~/Library/Preferences/org.pqrs.Karabiner-Elements-Updater.plist',
|
|
'~/Library/Caches/org.pqrs.Karabiner-Elements-Updater',
|
|
]
|
|
end
|