new meta format; enchanced grouping; minor fixes

This commit is contained in:
Minizbot2012 2021-01-16 11:09:42 -05:00
parent 25ac5d1999
commit 21b657c086
9 changed files with 136 additions and 255 deletions

View file

@ -33,9 +33,9 @@ namespace Penumbra.Mods
}
// Only add if not in a sub-folder, otherwise it was already added.
foreach( var pair in Meta.Groups.FileToGameAndGroup )
if (pair.Key.IndexOfAny(new[]{'/', '\\'}) < 0)
ModFiles.Add( new FileInfo(Path.Combine(ModBasePath.FullName, pair.Key)) );
//foreach( var pair in Meta.Groups.FileToGameAndGroup )
// if (pair.Key.IndexOfAny(new[]{'/', '\\'}) < 0)
// ModFiles.Add( new FileInfo(Path.Combine(ModBasePath.FullName, pair.Key)) );
}
public void AddConflict( string modName, string path )