BackgroundMusic/MANUAL-UNINSTALL.md
Kyle Neideck 90dd4d6cbb Add a few small things to uninstall.sh.
- Move files to the trash instead of deleting them, just in case we
  accidentally delete the wrong thing.
- Added some fallback variants of launchctl commands for old versions.
- Check the size of files before deleting them, just to be safe.
- Added license/copyright heading.
2016-04-20 01:57:17 +10:00

1.2 KiB

Manual Uninstall

  • Delete Background Music.app from /Applications.

  • Delete Background Music Device.driver from /Library/Audio/Plug-Ins/HAL.

  • Pause apps that are playing audio, if you can.

  • Restart coreaudiod: (Open /Applications/Utilities/Terminal.app and paste the following at the prompt.)

    sudo launchctl kill SIGTERM system/com.apple.audio.coreaudiod || sudo killall coreaudiod
    
  • 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.)

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:

    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