remove unnecessary Everything installation during startup

This commit is contained in:
Jeremy 2022-12-05 08:55:35 +11:00
parent 74ea629c55
commit 5c4b78507c

View file

@ -42,16 +42,6 @@ namespace Flow.Launcher.Plugin.Explorer
contextMenu = new ContextMenu(Context, Settings, viewModel);
searchManager = new SearchManager(Settings, Context);
ResultManager.Init(Context, Settings);
if (Settings.EverythingEnabled)
{
_ = EverythingDownloadHelper.PromptDownloadIfNotInstallAsync(Settings.EverythingInstalledPath, context.API)
.ContinueWith(s =>
{
if (s.IsCompletedSuccessfully)
Settings.EverythingInstalledPath = s.Result;
}, TaskScheduler.Default);
}
SortOptionTranslationHelper.API = context.API;