Minor fixes

UWPTest
Brian Lima 8 years ago
parent b68645043f
commit a07c23002e

@ -86,6 +86,8 @@ namespace UWPHook
var users = SteamManager.GetUsers(steam_folder);
var selected_apps = Apps.Entries.Where(app => app.Selected);
foreach (var user in users)
{
try
{
VDFEntry[] shortcuts;
try
@ -97,7 +99,6 @@ namespace UWPHook
throw new Exception("Error trying to load existing Steam shortcuts." + Environment.NewLine + ex.Message);
}
//TODO: Figure out what to do when user has no shortcuts whatsoever
if (shortcuts != null)
{
foreach (var app in selected_apps)
@ -128,11 +129,16 @@ namespace UWPHook
}
catch (Exception ex)
{
throw new Exception("Error while trying to write your Steam shortcuts" + Environment.NewLine + ex.Message);
}
}
}
catch (Exception ex)
{
MessageBox.Show("Error exporting your games:" + Environment.NewLine + ex.Message + ex.StackTrace);
}
}
}
MessageBox.Show("Your apps were successfuly exported, please restart Steam in order to see your apps in it.", "UWPHook", MessageBoxButton.OK, MessageBoxImage.Information);

@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2.0")]
[assembly: AssemblyFileVersion("2.1.2.0")]
[assembly: AssemblyVersion("2.1.3.0")]
[assembly: AssemblyFileVersion("2.1.3.0")]

Loading…
Cancel
Save