@ -18,7 +18,7 @@ Select every app you want to add to Steam, you can change the name by double cli
![](https://i.imgur.com/on46CMQ.png)
Close UWPHook, restart Steam, click play on your UWP game, and Steam will show your current game on your status as long as you are playing it!
Close UWPHook, restart Steam if prompted, click play on your UWP game, and Steam will show your current game on your status as long as you are playing it!
//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);
}
}
@ -129,11 +130,23 @@ namespace UWPHook
grid.IsEnabled=false;
progressBar.Visibility=Visibility.Visible;
awaitExportGames();
boolrestartSteam=true;
varresult=awaitExportGames(restartSteam);
grid.IsEnabled=true;
progressBar.Visibility=Visibility.Collapsed;
MessageBox.Show("Your apps were successfuly exported, please restart Steam in order to see your apps.","UWPHook",MessageBoxButton.OK,MessageBoxImage.Information);
stringmsg="Your apps were successfuly exported!";
if(!restartSteam)
{
msg+=" Please restart Steam in order to see them.";