From f0c8296b6eb751aec8db800fd71e044bcedc61b0 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Fri, 3 Nov 2023 00:10:13 -0500 Subject: [PATCH] Don't grab icon from old icon route --- LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs b/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs index a5cf79f..3f80ec0 100644 --- a/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs +++ b/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs @@ -146,7 +146,6 @@ namespace LANCommander.PlaynitePlugin GameId = game.Id.ToString(), ReleaseDate = new ReleaseDate(manifest.ReleasedOn), //Version = game.Archives.OrderByDescending(a => a.CreatedOn).FirstOrDefault().Version, - Icon = new MetadataFile($"{Settings.ServerAddress}{manifest.Icon}"), GameActions = game.Actions.OrderBy(a => a.SortOrder).Select(a => new PN.SDK.Models.GameAction() { Name = a.Name, @@ -454,8 +453,6 @@ namespace LANCommander.PlaynitePlugin else game.GameActions.Clear(); - game.Icon = $"{Settings.ServerAddress}{manifest.Icon}"; - if (manifest.Actions == null) throw new Exception("The game has no actions defined.");