mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed zEditIntegration Test
This commit is contained in:
parent
fa5f5be73b
commit
03dacb1e42
@ -73,15 +73,15 @@ namespace Wabbajack.Lib
|
||||
return false;
|
||||
}
|
||||
|
||||
if (settings.modsPath != Path.Combine(_mo2Compiler.MO2Folder, "mods"))
|
||||
if (settings.modsPath != Path.Combine(_mo2Compiler.MO2Folder, Consts.MO2ModFolderName))
|
||||
{
|
||||
Utils.Log($"zEdit settings file {f}: modsPath is not {_mo2Compiler.MO2Folder}\\mods but {settings.modsPath}!");
|
||||
Utils.Log($"zEdit settings file {f}: modsPath is not {_mo2Compiler.MO2Folder}\\{Consts.MO2ModFolderName} but {settings.modsPath}!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (settings.mergePath != Path.Combine(_mo2Compiler.MO2Folder, "mods"))
|
||||
if (settings.mergePath != Path.Combine(_mo2Compiler.MO2Folder, Consts.MO2ModFolderName))
|
||||
{
|
||||
Utils.Log($"zEdit settings file {f}: modsPath is not {_mo2Compiler.MO2Folder}\\mods but {settings.modsPath}!");
|
||||
Utils.Log($"zEdit settings file {f}: modsPath is not {_mo2Compiler.MO2Folder}\\{Consts.MO2ModFolderName} but {settings.modsPath}!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,18 @@ namespace Wabbajack.Test
|
||||
|
||||
|
||||
Directory.CreateDirectory(Path.Combine(utils.MO2Folder, "tools", "mator", "bleh", "profiles", "myprofile"));
|
||||
|
||||
var settings = new zEditIntegration.zEditSettings()
|
||||
{
|
||||
modManager = "Mod Organizer 2",
|
||||
managerPath = utils.MO2Folder,
|
||||
modsPath = Path.Combine(utils.MO2Folder, Consts.MO2ModFolderName),
|
||||
mergePath = Path.Combine(utils.MO2Folder, Consts.MO2ModFolderName)
|
||||
};
|
||||
|
||||
settings.ToJSON(Path.Combine(utils.MO2Folder, "tools", "mator", "bleh", "profiles", "myprofile",
|
||||
"settings.json"));
|
||||
|
||||
new List<zEditIntegration.zEditMerge>()
|
||||
{
|
||||
new zEditIntegration.zEditMerge()
|
||||
|
Loading…
Reference in New Issue
Block a user