mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Vortex folder will be detected and set if found
This commit is contained in:
parent
f391254f1d
commit
c41e1999f8
@ -41,8 +41,10 @@ namespace Wabbajack.Lib
|
||||
|
||||
//args: wabbajacke.exe gameName gamePath vortexfolder stagingfolder downloadsfolder
|
||||
VortexFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Vortex");
|
||||
StagingFolder = Path.Combine(VortexFolder, gameName, "mods");
|
||||
DownloadsFolder = Path.Combine(VortexFolder, "downloads", gameName);
|
||||
if (File.Exists(Path.Combine(VortexFolder, gameName, "mods", "__vortex_staging_folder")))
|
||||
StagingFolder = Path.Combine(VortexFolder, gameName, "mods");
|
||||
if (File.Exists(Path.Combine(VortexFolder, "downloads", gameName, "__vortex_downloads_folder")))
|
||||
DownloadsFolder = Path.Combine(VortexFolder, "downloads", gameName);
|
||||
|
||||
if (args.Length >= 4)
|
||||
StagingFolder = args[3];
|
||||
|
Loading…
Reference in New Issue
Block a user