We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07bb16c commit c907c29Copy full SHA for c907c29
Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs
@@ -197,20 +197,22 @@ internal async Task InstallOrUpdateAsync(UserPlugin plugin)
197
prgBox.Close();
198
prgBox = null;
199
});
200
-
201
- Install(plugin, filePath);
202
}
203
else
204
{
205
await Http.DownloadAsync(plugin.UrlDownload, filePath).ConfigureAwait(false);
206
207
208
209
210
211
filePath = plugin.LocalInstallPath;
212
213
+
+ // check if user cancelled download before installing plugin
+ if (downloadCancelled)
+ return;
214
215
+ Install(plugin, filePath);
216
217
catch (HttpRequestException e)
218
0 commit comments