Update README for uninstall

This commit is contained in:
Nick Jacques 2016-04-17 21:46:15 -05:00
parent f7abfcc4ab
commit a0a3e4dbbd

View file

@ -56,27 +56,7 @@ apps playing audio.
## Uninstall
- Delete `Background Music.app` from `/Applications`.
- Delete `Background Music Device.driver` from `/Library/Audio/Plug-Ins/HAL`.
#### Optional
- Delete `BGMXPCHelper.xpc` from `/usr/local/libexec` or possibly `/Library/Application Support/Background Music`.
- Unregister BGMXPCHelper, delete its user and group, and delete its launchd.plist:
```shell
sudo launchctl bootout system /Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist
sudo rm /Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist
sudo dscl . -delete /Users/_BGMXPCHelper
sudo dscl . -delete /Groups/_BGMXPCHelper
```
- Pause apps that are playing audio, if you can.
- Restart `coreaudiod`:
[//]: # ( <sup>(Open `/Applications/Utilities/Terminal.app` and paste the following at the prompt.)</sup> )
```shell
sudo launchctl kill SIGTERM system/com.apple.audio.coreaudiod
```
- Run the `uninstall.sh` script to remove Background Music from your system.
- Go to the Sound section in System Preferences and change your default output device at least once. (If you only have
one device now, either use `Audio MIDI Setup.app` to create a temporary aggregate device, restart any audio apps that
have stopped working or just restart your system.)
@ -129,5 +109,3 @@ change the default device and then change it back again. Failing that, you might
## License
GPLv2 or later