splashtop_uninstall_macos.sh - limehawk/rmm-scripts GitHub Wiki

splashtop_uninstall_macos.sh

Completely removes Splashtop Streamer from macOS.

Overview

This script performs a complete uninstallation of Splashtop Streamer from macOS systems, removing all related files, launch daemons, kernel extensions, preferences, and package receipts.

Purpose

Completely removes Splashtop Streamer from macOS including all related files, launch daemons, kernel extensions, and preferences.

Prerequisites

  • macOS
  • Root/sudo privileges

Configuration

Required Inputs

The script uses hardcoded values:

  • APP_BUNDLE_ID: Application bundle identifier (com.splashtop.Splashtop-Streamer)
  • APP_NAME: Application name (Splashtop Streamer.app)

Behavior

  1. Stops all running Splashtop processes (Splashtop Streamer, inputserv, spupnp, SRProxy, SRFeature, SplashtopRemote, SRStreamerDaemon)
  2. Unloads all Splashtop launch daemons and agents
  3. Removes launch daemon and agent plist files from /Library
  4. Removes application bundles from /Applications
  5. Removes shared data from /Users/Shared/SplashtopStreamer
  6. Removes kernel extensions from /Library/Extensions and /System/Library/Extensions
  7. Removes audio plugin from /Library/Audio/Plug-Ins/HAL
  8. Removes user and root preferences
  9. Removes user caches and temporary files
  10. Forgets package receipts using pkgutil
  11. Reports uninstallation status

Security Notes

  • Requires sudo/root privileges to remove system-level components
  • Uses error suppression (2>/dev/null || true) to continue uninstallation even if some components are missing
  • Removes kernel extensions and system-level services
  • Cleans up user preferences and caches for both regular user and root

Exit Codes

  • 0 = Success
  • 1 = Failure (script uses error suppression, so failures are rare)

Example Output

[ SPLASHTOP UNINSTALL - macOS ]
--------------------------------------------------------------
Stopping Splashtop processes...
Unloading launch daemons...
Removing launch daemon files...
Removing application...
Removing shared data...
Removing kernel extensions...
Removing preferences...
Cleaning package receipts...

[ COMPLETE ]
--------------------------------------------------------------
Splashtop Streamer has been uninstalled

Version History

  • v1.0.0 - Initial release

Links