Fixed issue with Uplay icon paths

This commit is contained in:
Terry MacDonald 2021-10-15 21:59:05 +13:00
parent b02155d9b1
commit f4bc6077e9
2 changed files with 6 additions and 6 deletions

View File

@ -651,9 +651,9 @@ namespace DisplayMagician.GameLibraries
}
// Now try to get the Uplay game icon
if (!String.IsNullOrEmpty(executable.icon_image))
if (!String.IsNullOrEmpty(root.icon_image))
{
gameIconPath = Path.Combine(_uplayPath, "data", "games", executable.icon_image);
gameIconPath = Path.Combine(_uplayPath, "data", "games", root.icon_image);
// If the icon file isn't actually there, then use the game exe instead.
if (!File.Exists(gameIconPath))
@ -753,9 +753,9 @@ namespace DisplayMagician.GameLibraries
}
// Now try to get the Uplay game icon
if (!String.IsNullOrEmpty(executable.icon_image))
if (!String.IsNullOrEmpty(root.icon_image))
{
gameIconPath = Path.Combine(_uplayPath, "data", "games", executable.icon_image);
gameIconPath = Path.Combine(_uplayPath, "data", "games", root.icon_image);
// If the icon file isn't actually there, then use the game exe instead.
if (!File.Exists(gameIconPath))

View File

@ -26,8 +26,8 @@ using System.Resources;
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
// Version information
[assembly: AssemblyVersion("2.0.1.123")]
[assembly: AssemblyFileVersion("2.0.1.123")]
[assembly: AssemblyVersion("2.0.1.125")]
[assembly: AssemblyFileVersion("2.0.1.125")]
[assembly: NeutralResourcesLanguageAttribute( "en" )]
[assembly: CLSCompliant(true)]