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
- Stops all running Splashtop processes (Splashtop Streamer, inputserv, spupnp, SRProxy, SRFeature, SplashtopRemote, SRStreamerDaemon)
- Unloads all Splashtop launch daemons and agents
- Removes launch daemon and agent plist files from /Library
- Removes application bundles from /Applications
- Removes shared data from /Users/Shared/SplashtopStreamer
- Removes kernel extensions from /Library/Extensions and /System/Library/Extensions
- Removes audio plugin from /Library/Audio/Plug-Ins/HAL
- Removes user and root preferences
- Removes user caches and temporary files
- Forgets package receipts using pkgutil
- 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= Success1= 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
- View Script Source
- Scripts - Back to script index