feat: reload dev plugin manifest when enabling

This commit is contained in:
Aireil 2022-09-14 16:53:17 +02:00
parent 056d398a58
commit 440f96fab2
No known key found for this signature in database
GPG key ID: EA9CA38B48706D3D
2 changed files with 22 additions and 5 deletions

View file

@ -2118,6 +2118,11 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
this.enableDisableStatus = OperationStatus.InProgress;
this.loadingIndicatorKind = LoadingIndicatorKind.EnablingSingle;
if (plugin.IsDev)
{
plugin.ReloadManifest();
}
var enableTask = Task.Run(() => plugin.Enable())
.ContinueWith(this.DisplayErrorContinuation,
Locs.ErrorModal_EnableFail(plugin.Name));