mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
feat: reload dev plugin manifest when enabling
This commit is contained in:
parent
056d398a58
commit
440f96fab2
2 changed files with 22 additions and 5 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue