Skip to content

Instantly share code, notes, and snippets.

@edersonbadeca
Created October 25, 2024 00:00
Show Gist options
  • Save edersonbadeca/5e63c60c8f97fb0f18221beb7cdcb7f7 to your computer and use it in GitHub Desktop.
Save edersonbadeca/5e63c60c8f97fb0f18221beb7cdcb7f7 to your computer and use it in GitHub Desktop.
LogiOptions remover
#!/bin/bash
# Terminate Logi Options if running
echo "Terminating Logi Options..."
pkill -f LogiOptions
# Remove Logi Options app
echo "Removing Logi Options from Applications directory..."
rm -rf /Applications/LogiOptions.app
# Remove support files
echo "Removing Logi Options support files..."
rm -rf ~/Library/Application\ Support/LogiOptions
rm -rf ~/Library/Preferences/com.logitech.LogiOptions.plist
rm -rf ~/Library/Logs/LogiOptions
rm -rf ~/Library/Caches/com.logitech.LogiOptions
# Remove additional drivers
echo "Removing additional drivers..."
sudo rm -rf /Library/LaunchDaemons/com.logitech.*
# Empty Trash
echo "Emptying Trash..."
osascript -e 'tell app "Finder" to empty'
echo "Logi Options uninstallation completed!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment