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/
|
||||
.idea/
|
||||
sdk/
|
||||
bin/
|
||||
obj/
|
||||
|
||||
#ai
|
||||
.omo/
|
||||
.opencode/
|
||||
|
||||
gen/
|
||||
obj/
|
||||
bin/
|
||||
|
||||
*.tres~
|
||||
*.tscn~
|
||||
|
||||
# GDScript LSP
|
||||
.godot/
|
||||
|
||||
# Export
|
||||
*.exe
|
||||
*.dmg
|
||||
*.apk
|
||||
*.aab
|
||||
*.pck
|
||||
*.zip
|
||||
*.log
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Editor
|
||||
*.import
|
||||
*.godot.uid
|
||||
# Godot 4.x
|
||||
.godot/
|
||||
.idea/
|
||||
sdk/
|
||||
bin/
|
||||
obj/
|
||||
|
||||
#ai
|
||||
.omo/
|
||||
.opencode/
|
||||
|
||||
gen/
|
||||
obj/
|
||||
bin/
|
||||
|
||||
*.tres~
|
||||
*.tscn~
|
||||
|
||||
# GDScript LSP
|
||||
.godot/
|
||||
|
||||
# Export
|
||||
*.exe
|
||||
*.dmg
|
||||
*.apk
|
||||
*.aab
|
||||
*.pck
|
||||
*.zip
|
||||
*.log
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Editor
|
||||
*.import
|
||||
*.godot.uid
|
||||
@@ -102,7 +102,7 @@ namespace Mods.ModManager
|
||||
{
|
||||
disabled.Remove(modId);
|
||||
var info = ModRegistry.Instance.GetMod(modId) as ModInfo;
|
||||
var dependencies = info?.Manifest?.DependencyIds;
|
||||
var dependencies = info?.Manifest?.RequiredDependencyIds;
|
||||
if (dependencies != null)
|
||||
{
|
||||
foreach (var dependency in dependencies)
|
||||
@@ -252,7 +252,7 @@ namespace Mods.ModManager
|
||||
if (disabled.Contains(pair.Key) || pair.Value is not ModInfo info)
|
||||
continue;
|
||||
|
||||
var dependencies = info.Manifest?.DependencyIds;
|
||||
var dependencies = info.Manifest?.RequiredDependencyIds;
|
||||
if (dependencies != null && dependencies.Contains(modId))
|
||||
{
|
||||
disabled.Add(pair.Key);
|
||||
|
||||
Reference in new issue
Block a user