mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-02 13:53:42 +01:00
Adding support for mod groups/options. Removed SwapFiles.
This commit is contained in:
parent
c472fdd8cf
commit
01215b5697
9 changed files with 284 additions and 80 deletions
|
|
@ -31,6 +31,11 @@ namespace Penumbra.Mods
|
|||
ModFiles.Add( file );
|
||||
}
|
||||
}
|
||||
|
||||
// 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 char[]{'/', '\\'}) < 0)
|
||||
ModFiles.Add( new FileInfo(Path.Combine(ModBasePath.FullName, pair.Key)) );
|
||||
}
|
||||
|
||||
public void AddConflict( string modName, string path )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue