mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 16:27:47 +01:00
Move Mod.Manager and ModCollection.Manager to outer scope and required changes.
This commit is contained in:
parent
ccdafcf85d
commit
1253079968
59 changed files with 2562 additions and 2615 deletions
|
|
@ -87,7 +87,7 @@ public class ConfigMigrationService
|
|||
if (_config.Version != 6)
|
||||
return;
|
||||
|
||||
ModCollection.Manager.MigrateUngenderedCollections(_fileNames);
|
||||
CollectionManager.MigrateUngenderedCollections(_fileNames);
|
||||
_config.Version = 7;
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ public class ConfigMigrationService
|
|||
if (_config.Version != 4)
|
||||
return;
|
||||
|
||||
Mod.Manager.MigrateModBackups = true;
|
||||
ModManager.MigrateModBackups = true;
|
||||
_config.Version = 5;
|
||||
}
|
||||
|
||||
|
|
@ -257,11 +257,11 @@ public class ConfigMigrationService
|
|||
using var j = new JsonTextWriter(writer);
|
||||
j.Formatting = Formatting.Indented;
|
||||
j.WriteStartObject();
|
||||
j.WritePropertyName(nameof(ModCollection.Manager.Default));
|
||||
j.WritePropertyName(nameof(CollectionManager.Default));
|
||||
j.WriteValue(def);
|
||||
j.WritePropertyName(nameof(ModCollection.Manager.Interface));
|
||||
j.WritePropertyName(nameof(CollectionManager.Interface));
|
||||
j.WriteValue(ui);
|
||||
j.WritePropertyName(nameof(ModCollection.Manager.Current));
|
||||
j.WritePropertyName(nameof(CollectionManager.Current));
|
||||
j.WriteValue(current);
|
||||
foreach (var (type, collection) in special)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue