mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fixed issue with Uplay icon paths
This commit is contained in:
parent
b02155d9b1
commit
f4bc6077e9
@ -651,9 +651,9 @@ namespace DisplayMagician.GameLibraries
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now try to get the Uplay game icon
|
// 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 the icon file isn't actually there, then use the game exe instead.
|
||||||
if (!File.Exists(gameIconPath))
|
if (!File.Exists(gameIconPath))
|
||||||
@ -753,9 +753,9 @@ namespace DisplayMagician.GameLibraries
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now try to get the Uplay game icon
|
// 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 the icon file isn't actually there, then use the game exe instead.
|
||||||
if (!File.Exists(gameIconPath))
|
if (!File.Exists(gameIconPath))
|
||||||
|
@ -26,8 +26,8 @@ using System.Resources;
|
|||||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||||
|
|
||||||
// Version information
|
// Version information
|
||||||
[assembly: AssemblyVersion("2.0.1.123")]
|
[assembly: AssemblyVersion("2.0.1.125")]
|
||||||
[assembly: AssemblyFileVersion("2.0.1.123")]
|
[assembly: AssemblyFileVersion("2.0.1.125")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||||
[assembly: CLSCompliant(true)]
|
[assembly: CLSCompliant(true)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user