mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: add plugins to testing opt-ins when loading at startup
This commit is contained in:
parent
6fd636c26c
commit
b4a89020e0
1 changed files with 5 additions and 0 deletions
|
|
@ -378,6 +378,9 @@ Thanks and have fun!";
|
|||
|
||||
var manifest = LocalPluginManifest.Load(manifestFile);
|
||||
|
||||
if (manifest.IsTestingExclusive && this.configuration.PluginTestingOptIns!.All(x => x.InternalName != manifest.InternalName))
|
||||
this.configuration.PluginTestingOptIns.Add(new PluginTestingOptIn(manifest.InternalName));
|
||||
|
||||
versionsDefs.Add(new PluginDef(dllFile, manifest, false));
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -386,6 +389,8 @@ Thanks and have fun!";
|
|||
}
|
||||
}
|
||||
|
||||
this.configuration.Save();
|
||||
|
||||
try
|
||||
{
|
||||
pluginDefs.Add(versionsDefs.OrderByDescending(x => x.Manifest!.EffectiveVersion).First());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue