Browse Source

Merge pull request #450 from jconley/soundflower-ultraschall

soundflower-ultraschall: unload kext on uninstall
master
Roland Walker 10 years ago
parent
commit
2433b4c800
  1. 11
      Casks/soundflower-ultraschall.rb

11
Casks/soundflower-ultraschall.rb

@ -7,6 +7,13 @@ class SoundflowerUltraschall < Cask
license :oss license :oss
pkg 'Soundflower.pkg', :allow_untrusted => true pkg 'Soundflower.pkg', :allow_untrusted => true
uninstall :pkgutil => 'com.cycling74.soundflower*', # early_script is a workaround for a slowly unloading kext, see private-eye cask
:delete => '/Applications/Soundflower' uninstall :early_script => {
:executable => '/sbin/kextunload',
:args => ['-b', 'com.Cycling74.driver.Soundflower'],
:must_succeed => false,
},
:pkgutil => 'com.cycling74.soundflower.*',
:delete => '/Applications/Soundflower',
:kext => 'com.Cycling74.driver.Soundflower'
end end

Loading…
Cancel
Save