diff --git a/UWPHook/GamesWindow.xaml.cs b/UWPHook/GamesWindow.xaml.cs index f3edd7a..72149d6 100644 --- a/UWPHook/GamesWindow.xaml.cs +++ b/UWPHook/GamesWindow.xaml.cs @@ -57,6 +57,8 @@ namespace UWPHook launcher.Show(); await LaunchDelay(); + + launcher.Close(); } else { @@ -97,11 +99,6 @@ namespace UWPHook ScriptManager.RunScript("Set - WinUILanguageOverride " + currentLanguage); } - if (launcher != null) - { - launcher.Close(); - } - //The user has probably finished using the app, so let's close UWPHook to keep the experience clean this.Close(); }