mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
VortexInstaller will now make use of the paths set by the InstallerView
This commit is contained in:
parent
a423e33cef
commit
9272e9d67c
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user