mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
only check the images folder
This commit is contained in:
parent
443124d73f
commit
617facb8e8
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue