automatically check whether we shall reindex when querying

This commit is contained in:
弘韬 张 2021-01-23 12:33:47 +08:00
parent 79962fb03e
commit 3e6961dc9f

View file

@ -41,6 +41,9 @@ namespace Flow.Launcher.Plugin.Program
public async Task<List<Result>> QueryAsync(Query query, CancellationToken token)
{
if (IsStartupIndexProgramsRequired)
_ = IndexPrograms();
Win32[] win32;
UWP.Application[] uwps;