We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4a21e commit 44c541bCopy full SHA for 44c541b
Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs
@@ -640,7 +640,8 @@ string TryToFindLogo(string uri, string path)
640
// select like logo.[xxx_yyy].png
641
// https://learn.microsoft.com/en-us/windows/uwp/app-resources/tailor-resources-lang-scale-contrast
642
var logos = files.Where(file =>
643
- Path.GetFileName(file).StartsWith(logoNamePrefix) && extension == Path.GetExtension(file)
+ Path.GetFileName(file)?.StartsWith(logoNamePrefix, StringComparison.OrdinalIgnoreCase) ?? false
644
+ && extension.Equals(Path.GetExtension(file), StringComparison.OrdinalIgnoreCase)
645
);
646
647
var selected = logos.FirstOrDefault();
0 commit comments