auto refresh games list on load

pull/73/head
Jon 3 years ago
parent 396296cc76
commit a4383412ed

@ -35,13 +35,15 @@ namespace UWPHook
var args = Environment.GetCommandLineArgs();
//If null or 1, the app was launched normally
if (args != null)
if (args != null && Environment.GetCommandLineArgs().Length > 1)
{
//When length is 1, the only argument is the path where the app is installed
if (Environment.GetCommandLineArgs().Length > 1)
{
_ = LauncherAsync(args);
}
_ = LauncherAsync(args);
}
else
{
//auto refresh on load
LoadButton_Click(null, null);
}
}

Loading…
Cancel
Save