Skip to content

Commit

Permalink
fix new launcher selectors & window name
Browse files Browse the repository at this point in the history
  • Loading branch information
MELVARDEV committed Nov 6, 2021
1 parent 9a52237 commit 1d818ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LeagueAccManager/AutoFill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static void lol(Process pr)
{
try
{
mainWindow.FindAt(TreeScope.Descendants, 4, cf.ByControlType(ControlType.Button)).AsButton().Invoke();
mainWindow.FindAt(TreeScope.Descendants, 3, cf.ByControlType(ControlType.Button)).AsButton().Invoke();
tryAgain = false;
}
catch (Exception e) { }
Expand Down
2 changes: 1 addition & 1 deletion LeagueAccManager/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ private async void fillButton_Click(object sender, RoutedEventArgs e)
}

var mainWindowTitle = pname[0].MainWindowTitle;
while (mainWindowTitle != "Riot Client")
while (mainWindowTitle != "Riot Client Main")
{
await Task.Delay(200);
Process[] proc = Process.GetProcessesByName("RiotClientUx");
Expand Down

0 comments on commit 1d818ba

Please sign in to comment.