You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
1.2 KiB

cask 'xbox360-controller-driver-beta' do
version '0.16.4'
sha256 'e72232947be69b9483349ffa9bc4d8fe7e74c5ea453f3df14a6d86489489f4c3'
url "https://github.com/360Controller/360Controller/releases/download/v#{version}/360ControllerInstall_#{version}.dmg"
appcast 'https://github.com/360Controller/360Controller/releases.atom',
checkpoint: 'ea89ea749b89a985b663d1bee677a06acc0b1afebbd58258d62ea5d92c5f4f7f'
name 'TattieBogle Xbox 360 Controller Driver (with improvements)'
homepage 'https://github.com/360Controller/360Controller'
pkg 'Install360Controller.pkg'
uninstall pkgutil: 'com.mice.pkg.Xbox360controller',
launchctl: 'com.mice.360Daemon',
kext: [
'com.mice.Xbox360ControllerForceFeedback',
'com.mice.driver.Xbox360Controller',
'com.mice.driver.Wireless360Controller',
'com.mice.driver.WirelessGamingReceiver',
],
# Symlink to kext in /Library/Extensions is not removed
# during :pkgutil phase of uninstall, so we delete it here.
delete: '/System/Library/Extensions/360Controller.kext'
caveats do
reboot
end
end