These scripts dynamically adjust the permissions of League of Legends game settings based on whether a game is running. This ensures consistent settings across multiple League of Legends accounts while allowing adjustments during gameplay, without the need for manual permission changes. The game state monitoring begins with the starting script and automatically terminates upon closing the Riot client or stopping the script manually.
chmod +x start_lol.sh
chmod +x monitor_game_state.sh
./start_lol.sh
./start_lol.sh -d