LESs/RemovePopup.xaml.cs
/// <summary>
/// Called when the restore from riot patcher button is called
/// </summary>
Called when the restore from riot patcher button is called
Called when the restore from riot patcher button is called
void RemoveRiotButton_Click(object sender, RoutedEventArgs e)
        {
            if (File.Exists(Path.Combine(Location.Substring(0, Location.Length - 7), "S_OK")))
            {
                File.Delete(Path.Combine(Location.Substring(0, Location.Length - 7), "S_OK"));
                MessageBox.Show("LESs will be removed next time League of Legends launches!");
            }
        }
void RemoveRiotButton_Click ( object sender , RoutedEventArgs e ) { if ( File . Exists ( Path . Combine ( Location . Substring ( 0 , Location . Length - 7 ) , " " ) ) ) { File . Delete ( Path . Combine ( Location . Substring ( 0 , Location . Length - 7 ) , " " ) ) ; MessageBox . Show ( " " ) ; } }
Called when the restore from riot patcher button is called
Called when the restore from riot patcher button is called
/*This works by removing S_OK from the AIR installation. This has the same effect as clicking "Repair" in the patcher
              except it only makes it check the AIR installation, not the entire game. This speeds it up from 10-20 minutes
              to only a minute max.*/
sender
object
e
RoutedEventArgs