Created
October 25, 2024 00:00
-
-
Save edersonbadeca/5e63c60c8f97fb0f18221beb7cdcb7f7 to your computer and use it in GitHub Desktop.
LogiOptions remover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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