File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,9 @@ public static async Task InitializePluginsAsync(IResultUpdateRegister register)
246
246
{
247
247
var initTasks = _allLoadedPlugins . Select ( pair => Task . Run ( async ( ) =>
248
248
{
249
+ // Register plugin action keywords so that plugins can be queried in results
250
+ RegisterPluginActionKeywords ( pair ) ;
251
+
249
252
try
250
253
{
251
254
var milliseconds = await PublicApi . Instance . StopwatchLogDebugAsync ( ClassName , $ "Init method time cost for <{ pair . Metadata . Name } >",
@@ -284,9 +287,6 @@ public static async Task InitializePluginsAsync(IResultUpdateRegister register)
284
287
// Update plugin metadata translation after the plugin is initialized with IPublicAPI instance
285
288
Internationalization . UpdatePluginMetadataTranslation ( pair ) ;
286
289
287
- // Register plugin action keywords so that plugins can be queried in results
288
- RegisterPluginActionKeywords ( pair ) ;
289
-
290
290
// Add plugin to Dialog Jump plugin list after the plugin is initialized
291
291
DialogJump . InitializeDialogJumpPlugin ( pair ) ;
292
292
You can’t perform that action at this time.
0 commit comments