Mod manager cascades over required dependencies only
This commit is contained in:
1 parent
91d93e1368
commit
78dc027210
2 files changed
+39
-39
No files matched your search
+37
-37
@@ -1,37 +1,37 @@
|
|||||||
# Godot 4.x
|
# Godot 4.x
|
||||||
.godot/
|
.godot/
|
||||||
.idea/
|
.idea/
|
||||||
sdk/
|
sdk/
|
||||||
bin/
|
bin/
|
||||||
obj/
|
obj/
|
||||||
|
|
||||||
#ai
|
#ai
|
||||||
.omo/
|
.omo/
|
||||||
.opencode/
|
.opencode/
|
||||||
|
|
||||||
gen/
|
gen/
|
||||||
obj/
|
obj/
|
||||||
bin/
|
bin/
|
||||||
|
|
||||||
*.tres~
|
*.tres~
|
||||||
*.tscn~
|
*.tscn~
|
||||||
|
|
||||||
# GDScript LSP
|
# GDScript LSP
|
||||||
.godot/
|
.godot/
|
||||||
|
|
||||||
# Export
|
# Export
|
||||||
*.exe
|
*.exe
|
||||||
*.dmg
|
*.dmg
|
||||||
*.apk
|
*.apk
|
||||||
*.aab
|
*.aab
|
||||||
*.pck
|
*.pck
|
||||||
*.zip
|
*.zip
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
# OS
|
# OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
*.import
|
*.import
|
||||||
*.godot.uid
|
*.godot.uid
|
||||||
@@ -102,7 +102,7 @@ namespace Mods.ModManager
|
|||||||
{
|
{
|
||||||
disabled.Remove(modId);
|
disabled.Remove(modId);
|
||||||
var info = ModRegistry.Instance.GetMod(modId) as ModInfo;
|
var info = ModRegistry.Instance.GetMod(modId) as ModInfo;
|
||||||
var dependencies = info?.Manifest?.DependencyIds;
|
var dependencies = info?.Manifest?.RequiredDependencyIds;
|
||||||
if (dependencies != null)
|
if (dependencies != null)
|
||||||
{
|
{
|
||||||
foreach (var dependency in dependencies)
|
foreach (var dependency in dependencies)
|
||||||
@@ -252,7 +252,7 @@ namespace Mods.ModManager
|
|||||||
if (disabled.Contains(pair.Key) || pair.Value is not ModInfo info)
|
if (disabled.Contains(pair.Key) || pair.Value is not ModInfo info)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var dependencies = info.Manifest?.DependencyIds;
|
var dependencies = info.Manifest?.RequiredDependencyIds;
|
||||||
if (dependencies != null && dependencies.Contains(modId))
|
if (dependencies != null && dependencies.Contains(modId))
|
||||||
{
|
{
|
||||||
disabled.Add(pair.Key);
|
disabled.Add(pair.Key);
|
||||||
|
|||||||
Reference in new issue
Block a user