chore: ignore dev plugins update modal (#980)

This commit is contained in:
Aireil 2022-08-26 21:30:20 +02:00 committed by GitHub
parent c487fe98fe
commit 681dd5d44c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2129,7 +2129,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
NotificationType.Success); NotificationType.Success);
}); });
if (availableUpdate != default) if (availableUpdate != default && !availableUpdate.InstalledPlugin.IsDev)
{ {
this.ShowUpdateModal(plugin).ContinueWith(async t => this.ShowUpdateModal(plugin).ContinueWith(async t =>
{ {
@ -2168,7 +2168,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
private async Task<bool> UpdateSinglePlugin(AvailablePluginUpdate update) private async Task<bool> UpdateSinglePlugin(AvailablePluginUpdate update)
{ {
var pluginManager = Service<PluginManager>.Get(); var pluginManager = Service<PluginManager>.Get();
this.installStatus = OperationStatus.InProgress; this.installStatus = OperationStatus.InProgress;
this.loadingIndicatorKind = LoadingIndicatorKind.UpdatingSingle; this.loadingIndicatorKind = LoadingIndicatorKind.UpdatingSingle;