mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix tests
This commit is contained in:
parent
02631eb503
commit
80d93caf96
@ -52,9 +52,8 @@ namespace Wabbajack.Lib
|
||||
public AbsolutePath SourcePath { get;}
|
||||
public AbsolutePath DownloadsPath { get;}
|
||||
|
||||
|
||||
public abstract AbsolutePath ModListOutputFolder { get; }
|
||||
public abstract AbsolutePath ModListOutputFile { get; }
|
||||
public AbsolutePath ModListOutputFolder { get; }
|
||||
public AbsolutePath ModListOutputFile { get; }
|
||||
|
||||
public bool IgnoreMissingFiles { get; set; }
|
||||
|
||||
@ -71,9 +70,14 @@ namespace Wabbajack.Lib
|
||||
public ACompiler(int steps, string modlistName, AbsolutePath sourcePath, AbsolutePath downloadsPath, AbsolutePath outputModListName)
|
||||
: base(steps)
|
||||
{
|
||||
SourcePath = sourcePath;
|
||||
DownloadsPath = downloadsPath;
|
||||
ModListName = modlistName;
|
||||
ModListOutputFile = outputModListName;
|
||||
//set in MainWindowVM
|
||||
WabbajackVersion = Consts.CurrentMinimumWabbajackVersion;
|
||||
Settings = new CompilerSettings();
|
||||
ModListOutputFolder = AbsolutePath.EntryPoint.Combine("output_folder", Guid.NewGuid().ToString());
|
||||
}
|
||||
|
||||
public static void Info(string msg)
|
||||
|
@ -25,7 +25,6 @@ namespace Wabbajack.Lib
|
||||
var mo2game = (string)MO2Ini.General.gameName;
|
||||
CompilingGame = GameRegistry.Games.First(g => g.Value.MO2Name == mo2game).Value;
|
||||
GamePath = CompilingGame.GameLocation();
|
||||
ModListOutputFile = outputFile;
|
||||
}
|
||||
|
||||
public AbsolutePath MO2ModsFolder => SourcePath.Combine(Consts.MO2ModFolderName);
|
||||
@ -36,11 +35,6 @@ namespace Wabbajack.Lib
|
||||
|
||||
public GameMetaData CompilingGame { get; }
|
||||
|
||||
|
||||
public override AbsolutePath ModListOutputFolder => ((RelativePath)"output_folder").RelativeToEntryPoint();
|
||||
|
||||
public override AbsolutePath ModListOutputFile { get; }
|
||||
|
||||
public dynamic MO2Ini { get; }
|
||||
|
||||
public AbsolutePath MO2ProfileDir => SourcePath.Combine("profiles", MO2Profile);
|
||||
|
Loading…
Reference in New Issue
Block a user