Skip to content

Commit 3e6961d

Browse files
committed
automatically check whether we shall reindex when querying
1 parent 79962fb commit 3e6961d

File tree

1 file changed

+3
-0
lines changed
  • Plugins/Flow.Launcher.Plugin.Program

1 file changed

+3
-0
lines changed

Plugins/Flow.Launcher.Plugin.Program/Main.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public void Save()
4141

4242
public async Task<List<Result>> QueryAsync(Query query, CancellationToken token)
4343
{
44+
if (IsStartupIndexProgramsRequired)
45+
_ = IndexPrograms();
46+
4447
Win32[] win32;
4548
UWP.Application[] uwps;
4649

0 commit comments

Comments
 (0)