Fix tests on test serer

This commit is contained in:
Timothy Baldridge 2020-10-23 22:02:35 -06:00
parent 01cf35db22
commit 9685b9a218

View File

@ -668,7 +668,8 @@ namespace Wabbajack.Test
var newData = IncludeStubbedConfigFiles.RemapData(compiler, string.Join("\n", file1));
var gamePath = Game.SkyrimSpecialEdition.MetaData().GameLocation().Normalize();
newData = newData.Replace(@"C:\\Steam\\steamapps\\common\\Skyrim Special Edition", gamePath);
newData = newData.Replace(@"C:\\Steam\\steamapps\\common\\Skyrim Special Edition", gamePath.Replace(@"\", @"\\"));
newData = newData.Replace(@"C:\Steam\steamapps\common\Skyrim Special Edition", gamePath);
newData = newData.Replace("C:/Steam/steamapps/common/Skyrim Special Edition", gamePath.Replace(@"\\", "/"));
var ini = newData.LoadIniString().customExecutables;
Assert.Equal($"{Consts.GAME_PATH_MAGIC_FORWARD}/skse64_loader.exe", ini[@"1\binary"]);