From ca8e1d9013c7f51dd470ca153c1afb2af2070457 Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Thu, 15 Sep 2022 16:18:26 +0200 Subject: [PATCH] feat: reload dev plugin manifest when disabling --- .../Windows/PluginInstaller/PluginInstallerWindow.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs index 04ad4e700..fe271cd18 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs @@ -2089,6 +2089,11 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller Task.Run(() => { + if (plugin.IsDev) + { + plugin.ReloadManifest(); + } + var unloadTask = Task.Run(() => plugin.UnloadAsync()) .ContinueWith(this.DisplayErrorContinuation, Locs.ErrorModal_UnloadFail(plugin.Name));