Fixed Game not being set and vortex file not being ignored

This commit is contained in:
erri120 2019-11-17 14:51:28 +01:00
parent ed2a6c5592
commit bfbdc10860
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -33,17 +33,18 @@ namespace Wabbajack.Lib
public VortexCompiler(Game game, string gamePath, string vortexFolder, string downloadsFolder, string stagingFolder)
{
ModManager = ModManager.Vortex;
Game = game;
// TODO: only for testing
IgnoreMissingFiles = true;
GamePath = gamePath;
GameName = GameRegistry.Games[game].NexusName;
this.VortexFolder = vortexFolder;
this.DownloadsFolder = downloadsFolder;
this.StagingFolder = stagingFolder;
Queue = new WorkQueue();
VFS = new Context(Queue);
VortexFolder = vortexFolder;
DownloadsFolder = downloadsFolder;
StagingFolder = stagingFolder;
ModListOutputFolder = "output_folder";
// TODO: add custom modlist name
@ -413,6 +414,7 @@ namespace Wabbajack.Lib
new IncludeVortexDeployment(this),
new IncludeRegex(this, "^*\\.meta"),
new IgnoreVortex(this),
new IgnoreRegex(this, "^*__vortex_staging_folder$"),
Game == Game.DarkestDungeon ? new IncludeRegex(this, "project\\.xml$") : null,