From b6d08d5b8f6248786ea780b9ae22a801620f2ce8 Mon Sep 17 00:00:00 2001 From: goat Date: Thu, 1 Sep 2022 00:30:38 +0200 Subject: [PATCH] Only allow updates from the same repo or main repo (#992) --- Dalamud/Plugin/Internal/PluginManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Dalamud/Plugin/Internal/PluginManager.cs b/Dalamud/Plugin/Internal/PluginManager.cs index 6f1ffdb04..d432c69d6 100644 --- a/Dalamud/Plugin/Internal/PluginManager.cs +++ b/Dalamud/Plugin/Internal/PluginManager.cs @@ -1234,6 +1234,7 @@ internal partial class PluginManager : IDisposable, IServiceType var updates = this.AvailablePlugins .Where(remoteManifest => plugin.Manifest.InternalName == remoteManifest.InternalName) + .Where(remoteManifest => plugin.Manifest.InstalledFromUrl == remoteManifest.SourceRepo.PluginMasterUrl || !remoteManifest.SourceRepo.IsThirdParty) .Select(remoteManifest => { var useTesting = UseTesting(remoteManifest);