mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #570 from erri120/vfs-compile-cache-location-fix
Changed the VFSCache location
This commit is contained in:
commit
a4d6f077a7
@ -22,7 +22,8 @@ namespace Wabbajack.Lib
|
||||
public bool ReadmeIsWebsite;
|
||||
public string WabbajackVersion;
|
||||
|
||||
protected string VFSCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache_{ModListName?.StringSHA256Hex() ?? "_Unknown_"}.bin");
|
||||
public abstract string VFSCacheName { get; }
|
||||
//protected string VFSCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache.bin");
|
||||
/// <summary>
|
||||
/// A stream of tuples of ("Update Title", 0.25) which represent the name of the current task
|
||||
/// and the current progress.
|
||||
|
@ -43,6 +43,10 @@ namespace Wabbajack.Lib
|
||||
|
||||
public override string ModListOutputFile { get; }
|
||||
|
||||
public override string VFSCacheName => Path.Combine(
|
||||
Consts.LocalAppDataPath,
|
||||
$"vfs_compile_cache-{Path.Combine(MO2Folder ?? "Unknown", "ModOrganizer.exe").StringSHA256Hex()}.bin");
|
||||
|
||||
public MO2Compiler(string mo2Folder, string mo2Profile, string outputFile)
|
||||
{
|
||||
MO2Folder = mo2Folder;
|
||||
|
@ -47,6 +47,10 @@ namespace Wabbajack.Lib
|
||||
private SteamGame _steamGame;
|
||||
private bool _hasSteamWorkshopItems;
|
||||
|
||||
public override string VFSCacheName => Path.Combine(
|
||||
Consts.LocalAppDataPath,
|
||||
$"vfs_compile_cache-{StagingFolder?.StringSHA256Hex() ?? "Unknown"}.bin");
|
||||
|
||||
public VortexCompiler(Game game, string gamePath, string vortexFolder, string downloadsFolder, string stagingFolder, string outputFile)
|
||||
{
|
||||
Game = game;
|
||||
|
Loading…
Reference in New Issue
Block a user