lol-account-manager
lol-account-manager copied to clipboard
Tool won't run if LoL is not installed in the default location
def login(self):
subprocess.call(["C:\Riot Games\League of Legends\LeagueClient.exe"])
time.sleep(2.5)
keyboard.type(self.username)
keyboard.press(Key.tab)
keyboard.release(Key.tab)
time.sleep(0.25)
keyboard.type(self.password)
This code hardcodes the League Client's location, as such, installation with non-default locations will fail to work with the tool.