parent
f21bf4801e
commit
70674f900e
|
@ -56,8 +56,15 @@ namespace LANCommander.SDK
|
||||||
|
|
||||||
var destination = Path.Combine(DefaultInstallDirectory, game.Title.SanitizeFilename());
|
var destination = Path.Combine(DefaultInstallDirectory, game.Title.SanitizeFilename());
|
||||||
|
|
||||||
if (ManifestHelper.Exists(destination))
|
try
|
||||||
manifest = ManifestHelper.Read(destination);
|
{
|
||||||
|
if (ManifestHelper.Exists(destination))
|
||||||
|
manifest = ManifestHelper.Read(destination);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger?.LogTrace(ex, "Error reading manifest before install");
|
||||||
|
}
|
||||||
|
|
||||||
if (manifest == null || manifest.Id != gameId)
|
if (manifest == null || manifest.Id != gameId)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue