From 617facb8e80bcf97444db6b0b10841416b532c48 Mon Sep 17 00:00:00 2001 From: Raymond Date: Thu, 16 Sep 2021 18:51:16 -0400 Subject: [PATCH] only check the images folder --- Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 85d8356e5..874993bd9 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -232,11 +232,8 @@ namespace Dalamud.Interface.Internal.Windows private static FileInfo? GetPluginIconFileInfo(LocalPlugin? plugin) { var pluginDir = plugin.DllFile.Directory; - var devUrl = new FileInfo(Path.Combine(pluginDir.FullName, "icon.png")); - if (devUrl.Exists) - return devUrl; - devUrl = new FileInfo(Path.Combine(pluginDir.FullName, "images", "icon.png")); + var devUrl = new FileInfo(Path.Combine(pluginDir.FullName, "images", "icon.png")); if (devUrl.Exists) return devUrl;