VortexInstaller will now make use of the paths set by the InstallerView

This commit is contained in:
erri120 2019-11-11 13:05:21 +01:00 committed by Timothy Baldridge
parent a423e33cef
commit 9272e9d67c
2 changed files with 5 additions and 6 deletions

View File

@ -21,7 +21,6 @@ namespace Wabbajack.Lib
public GameMetaData GameInfo { get; internal set; }
public string VortexFolder { get; set; }
public string StagingFolder { get; set; }
public string DownloadFolder { get; set; }
@ -38,10 +37,6 @@ namespace Wabbajack.Lib
IgnoreMissingFiles = true;
GameInfo = GameRegistry.Games[ModList.GameType];
VortexFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Vortex");
StagingFolder = Path.Combine(VortexFolder, GameInfo.NexusName, "mods");
DownloadFolder = Path.Combine(VortexFolder, "downloads", GameInfo.NexusName);
}
public void Info(string msg)

View File

@ -322,7 +322,11 @@ namespace Wabbajack
InstallingMode = true;
if (ModList.ModManager == ModManager.Vortex)
{
var installer = new VortexInstaller(ModListPath, ModList.SourceModList);
var installer = new VortexInstaller(ModListPath, ModList.SourceModList)
{
StagingFolder = StagingLocation,
DownloadFolder = DownloadLocation
};
var th = new Thread(() =>
{
try