mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix plugin install issue
This commit is contained in:
parent
07bb16c8f3
commit
c907c29148
1 changed files with 6 additions and 4 deletions
|
|
@ -197,20 +197,22 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
prgBox.Close();
|
||||
prgBox = null;
|
||||
});
|
||||
|
||||
Install(plugin, filePath);
|
||||
}
|
||||
else
|
||||
{
|
||||
await Http.DownloadAsync(plugin.UrlDownload, filePath).ConfigureAwait(false);
|
||||
Install(plugin, filePath);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
filePath = plugin.LocalInstallPath;
|
||||
Install(plugin, filePath);
|
||||
}
|
||||
|
||||
// check if user cancelled download before installing plugin
|
||||
if (downloadCancelled)
|
||||
return;
|
||||
|
||||
Install(plugin, filePath);
|
||||
}
|
||||
catch (HttpRequestException e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue