mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
feat: show why update failed when updating a single plugin
This commit is contained in:
parent
7f87d2a9d2
commit
b73ac2f3f7
3 changed files with 12 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using CheapLoc;
|
||||
|
||||
namespace Dalamud.Plugin.Internal.Types;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue