mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
executable plugin language check ignore case
This commit is contained in:
parent
4ea1ee0c04
commit
eb203c2c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
public static IEnumerable<PluginPair> ExecutablePlugins(IEnumerable<PluginMetadata> source)
|
||||
{
|
||||
return source
|
||||
.Where(o => o.Language.ToUpper() == AllowedLanguage.Executable)
|
||||
.Where(o => o.Language.Equals(AllowedLanguage.Executable, StringComparison.OrdinalIgnoreCase))
|
||||
.Select(metadata => new PluginPair
|
||||
{
|
||||
Plugin = new ExecutablePlugin(metadata.ExecuteFilePath), Metadata = metadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue