Boom! Basic Fixes.exe compiles with the new VFS compiler

This commit is contained in:
Timothy Baldridge 2019-08-20 16:03:18 -06:00
parent 14bb629b8a
commit e24d29e93d
2 changed files with 5 additions and 3 deletions

View File

@ -274,7 +274,9 @@ namespace VFS
public StagingGroup StageWith(IEnumerable<VirtualFile> files)
{
return new StagingGroup(files);
var grp = new StagingGroup(files);
grp.Stage();
return grp;
}
public VirtualFile this[string path]
@ -330,7 +332,7 @@ namespace VFS
public VirtualFile FileForArchiveHashPath(string[] archiveHashPath)
{
var archive = HashIndex[archiveHashPath[0]].Where(a => a.IsArchive).OrderByDescending(a => a.LastModified).First();
string fullPath = HashIndex[archiveHashPath[0]] + "|" + String.Join("|", archiveHashPath.Skip(1));
string fullPath = archive.FullPath + "|" + String.Join("|", archiveHashPath.Skip(1));
return Lookup(fullPath);
}
}

View File

@ -720,7 +720,7 @@ namespace Wabbajack
{
var indexed = IndexedFiles.Values
.SelectMany(f => f)
.GroupBy(f => Path.GetFileName(f.Paths.Last()))
.GroupBy(f => Path.GetFileName(f.Paths.Last()).ToLower())
.ToDictionary(f => f.Key);
return source =>