Now always waits for an internet connection before starting the league client. The reason is that the Rito Client also checks for internet, and we did not have a check yet.
It also replaces some of the sys.exit calls with restart_league_client.
Fixes #147, I hope?
Notes
I'd love to get check_if_client_error integrated with LCU (which should effectively take care of any error the client could throw at us), but I rarely run into client errors while physically present. I checked the LCU explorer but couldn't find anything at first glance (even though I did find that we can create arbitrary boxes and notification pop-ups ourselves, lol), so if you run into a box yourself, I'd love for you to see if you can find something with the explorer :)
Description
Now always waits for an internet connection before starting the league client. The reason is that the Rito Client also checks for internet, and we did not have a check yet.
It also replaces some of the sys.exit calls with restart_league_client.
Fixes #147, I hope?
Notes
I'd love to get
check_if_client_error
integrated with LCU (which should effectively take care of any error the client could throw at us), but I rarely run into client errors while physically present. I checked the LCU explorer but couldn't find anything at first glance (even though I did find that we can create arbitrary boxes and notification pop-ups ourselves, lol), so if you run into a box yourself, I'd love for you to see if you can find something with the explorer :)