Remove download success notification

This commit is contained in:
VictoriousRaptor 2023-09-28 23:45:11 +08:00
parent a1d7e44af2
commit 31131ea4a0

View file

@ -136,9 +136,6 @@ namespace Flow.Launcher.Plugin.PluginsManager
{
await Http.DownloadAsync(plugin.UrlDownload, filePath).ConfigureAwait(false);
Context.API.ShowMsg(Context.API.GetTranslation("plugin_pluginsmanager_downloading_plugin"),
string.Format(Context.API.GetTranslation("plugin_pluginsmanager_download_success"), plugin.Name));
Install(plugin, filePath);
}
catch (Exception e)
@ -223,10 +220,6 @@ namespace Flow.Launcher.Plugin.PluginsManager
await Http.DownloadAsync(x.PluginNewUserPlugin.UrlDownload, downloadToFilePath)
.ConfigureAwait(false);
Context.API.ShowMsg(
Context.API.GetTranslation("plugin_pluginsmanager_downloading_plugin"),
string.Format(Context.API.GetTranslation("plugin_pluginsmanager_download_success"), x.Name));
Install(x.PluginNewUserPlugin, downloadToFilePath);
Context.API.RestartApp();