only check the images folder

This commit is contained in:
Raymond 2021-09-16 18:51:16 -04:00
parent 443124d73f
commit 617facb8e8

View file

@ -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;