mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +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);
|
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));
|
versionsDefs.Add(new PluginDef(dllFile, manifest, false));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
@ -386,6 +389,8 @@ Thanks and have fun!";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.configuration.Save();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
pluginDefs.Add(versionsDefs.OrderByDescending(x => x.Manifest!.EffectiveVersion).First());
|
pluginDefs.Add(versionsDefs.OrderByDescending(x => x.Manifest!.EffectiveVersion).First());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue