feat: show why update failed when updating a single plugin

This commit is contained in:
goat 2023-11-02 19:52:23 +01:00
parent 7f87d2a9d2
commit b73ac2f3f7
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 12 additions and 5 deletions

View file

@ -1201,13 +1201,14 @@ internal partial class PluginManager : IDisposable, IServiceType
return await response.Content.ReadAsStreamAsync();
}
/// <summary>
/// Install a plugin from a repository and load it.
/// </summary>
/// <param name="repoManifest">The plugin definition.</param>
/// <param name="useTesting">If the testing version should be used.</param>
/// <param name="reason">The reason this plugin was loaded.</param>
/// <param name="zipStream">Stream of the ZIP archive containing the plugin that is about to be installed.</param>
/// <param name="inheritedWorkingPluginId">WorkingPluginId this plugin should inherit.</param>
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
private async Task<LocalPlugin> InstallPluginInternalAsync(RemotePluginManifest repoManifest, bool useTesting, PluginLoadReason reason, Stream zipStream, Guid? inheritedWorkingPluginId = null)

View file

@ -1,4 +1,3 @@
using System;
using CheapLoc;
namespace Dalamud.Plugin.Internal.Types;