mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Boom! Basic Fixes.exe compiles with the new VFS compiler
This commit is contained in:
parent
14bb629b8a
commit
e24d29e93d
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user