Skip to content

Commit c194d21

Browse files
Fix IcoPath for epic urls
1 parent af7539a commit c194d21

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private static Win32 UrlProgram(string path)
317317
}
318318

319319
var iconPath = urlSection?["IconFile"];
320-
if (iconPath != null && Path.GetExtension(iconPath).Equals(".ico", StringComparison.OrdinalIgnoreCase))
320+
if (!String.IsNullOrEmpty(url))
321321
{
322322
program.IcoPath = iconPath;
323323
}

0 commit comments

Comments
 (0)