Created
March 4, 2026 00:40
-
-
Save unferna/0a1bd7c6d79965c93c804060d3f799e6 to your computer and use it in GitHub Desktop.
You finally decided to evolve and improve your life
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 | |
| echo "π Starting League of Legends uninstall..." | |
| echo "π Closing Riot and League processes..." | |
| pkill -9 "League of Legends" | |
| pkill -9 "Riot Client" | |
| pkill -9 "LeagueClient" | |
| PATHS=( | |
| "/Applications/League of Legends.app" | |
| "/Applications/Riot Client.app" | |
| "$HOME/Library/Application Support/Riot Games" | |
| "$HOME/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.riotgames.leagueoflegends.sfl*" | |
| "$HOME/Library/Caches/com.riotgames.leagueoflegends" | |
| "$HOME/Library/Caches/Riot Games" | |
| "$HOME/Library/Preferences/com.riotgames.leagueoflegends.plist" | |
| "$HOME/Library/Saved Application Data/com.riotgames.leagueoflegends.savedState" | |
| "$HOME/Library/Logs/Riot Games" | |
| "/Users/Shared/Riot Games" | |
| ) | |
| for path in "${PATHS[@]}"; do | |
| if [ -e "$path" ] || [ -d "$path" ]; then | |
| echo "ποΈ Deleting: $path" | |
| rm -rf "$path" | |
| else | |
| echo "β Not found (already cleaned): $path" | |
| fi | |
| done | |
| echo "π§Ή Deleting trash bin..." | |
| rm -rf ~/.Trash/* | |
| echo "β¨ Done! League of Legends has been erased from your Mac." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment