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,7 +41,9 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
//args: wabbajacke.exe gameName gamePath vortexfolder stagingfolder downloadsfolder
|
//args: wabbajacke.exe gameName gamePath vortexfolder stagingfolder downloadsfolder
|
||||||
VortexFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Vortex");
|
VortexFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Vortex");
|
||||||
|
if (File.Exists(Path.Combine(VortexFolder, gameName, "mods", "__vortex_staging_folder")))
|
||||||
StagingFolder = Path.Combine(VortexFolder, gameName, "mods");
|
StagingFolder = Path.Combine(VortexFolder, gameName, "mods");
|
||||||
|
if (File.Exists(Path.Combine(VortexFolder, "downloads", gameName, "__vortex_downloads_folder")))
|
||||||
DownloadsFolder = Path.Combine(VortexFolder, "downloads", gameName);
|
DownloadsFolder = Path.Combine(VortexFolder, "downloads", gameName);
|
||||||
|
|
||||||
if (args.Length >= 4)
|
if (args.Length >= 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user