Fix IcoPath for epic urls

This commit is contained in:
Vic 2022-10-31 01:52:03 +08:00
parent af7539a218
commit c194d21948

View file

@ -317,7 +317,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
}
var iconPath = urlSection?["IconFile"];
if (iconPath != null && Path.GetExtension(iconPath).Equals(".ico", StringComparison.OrdinalIgnoreCase))
if (!String.IsNullOrEmpty(url))
{
program.IcoPath = iconPath;
}