mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Return loaded plugins
This commit is contained in:
parent
fe3339f645
commit
6e0f2fc4ce
2 changed files with 5 additions and 2 deletions
|
|
@ -171,8 +171,11 @@ namespace Flow.Launcher.Plugin
|
|||
string GetTranslation(string key);
|
||||
|
||||
/// <summary>
|
||||
/// Get all initialized plugins
|
||||
/// Get all loaded plugins
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Part of plugins may not be initialized yet
|
||||
/// </remarks>
|
||||
/// <returns></returns>
|
||||
List<PluginPair> GetAllPlugins();
|
||||
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ namespace Flow.Launcher
|
|||
|
||||
public string GetTranslation(string key) => Internationalization.GetTranslation(key);
|
||||
|
||||
public List<PluginPair> GetAllPlugins() => PluginManager.GetAllInitializedPlugins();
|
||||
public List<PluginPair> GetAllPlugins() => PluginManager.GetAllLoadedPlugins();
|
||||
|
||||
public MatchResult FuzzySearch(string query, string stringToCompare) =>
|
||||
StringMatcher.FuzzySearch(query, stringToCompare);
|
||||
|
|
|
|||
Loading…
Reference in a new issue