remove task

This commit is contained in:
Jeremy Wu 2021-02-05 08:08:33 +11:00
parent 385fabe81b
commit f3d0b88616

View file

@ -193,8 +193,7 @@ namespace Flow.Launcher.Core.Plugin
}
else
{
var installation = Task.Run(async () => { await DroplexPackage.Drop(App.python3_9_1).ConfigureAwait(false); });
installation.Wait();
DroplexPackage.Drop(App.python3_9_1).Wait();
var installedPythonDirectory =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Programs\Python\Python39");