mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
VFSCacheName into ACompiler
This commit is contained in:
@ -25,7 +25,10 @@ namespace Wabbajack.Lib
|
|||||||
public bool ModlistIsNSFW;
|
public bool ModlistIsNSFW;
|
||||||
protected Version? WabbajackVersion;
|
protected Version? WabbajackVersion;
|
||||||
|
|
||||||
public abstract AbsolutePath VFSCacheName { get; }
|
public AbsolutePath VFSCacheName =>
|
||||||
|
Consts.LocalAppDataPath.Combine(
|
||||||
|
$"vfs_compile_cache-2-{Path.Combine((string)SourcePath ?? "Unknown", "ModOrganizer.exe").StringSha256Hex()}.bin");
|
||||||
|
|
||||||
//protected string VFSCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache.bin");
|
//protected string VFSCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache.bin");
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A stream of tuples of ("Update Title", 0.25) which represent the name of the current task
|
/// A stream of tuples of ("Update Title", 0.25) which represent the name of the current task
|
||||||
@ -34,8 +37,6 @@ namespace Wabbajack.Lib
|
|||||||
public IObservable<(string, float)> ProgressUpdates => _progressUpdates;
|
public IObservable<(string, float)> ProgressUpdates => _progressUpdates;
|
||||||
protected readonly Subject<(string, float)> _progressUpdates = new Subject<(string, float)>();
|
protected readonly Subject<(string, float)> _progressUpdates = new Subject<(string, float)>();
|
||||||
|
|
||||||
public abstract ModManager ModManager { get; }
|
|
||||||
|
|
||||||
public abstract AbsolutePath GamePath { get; }
|
public abstract AbsolutePath GamePath { get; }
|
||||||
|
|
||||||
public AbsolutePath SourcePath { get;}
|
public AbsolutePath SourcePath { get;}
|
||||||
|
@ -33,8 +33,6 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
public string MO2Profile { get; }
|
public string MO2Profile { get; }
|
||||||
|
|
||||||
public override ModManager ModManager => ModManager.MO2;
|
|
||||||
|
|
||||||
public override AbsolutePath GamePath { get; }
|
public override AbsolutePath GamePath { get; }
|
||||||
|
|
||||||
public GameMetaData CompilingGame { get; }
|
public GameMetaData CompilingGame { get; }
|
||||||
@ -45,10 +43,6 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
public override AbsolutePath ModListOutputFile { get; }
|
public override AbsolutePath ModListOutputFile { get; }
|
||||||
|
|
||||||
public override AbsolutePath VFSCacheName =>
|
|
||||||
Consts.LocalAppDataPath.Combine(
|
|
||||||
$"vfs_compile_cache-2-{Path.Combine((string)SourcePath ?? "Unknown", "ModOrganizer.exe").StringSha256Hex()}.bin");
|
|
||||||
|
|
||||||
public dynamic MO2Ini { get; }
|
public dynamic MO2Ini { get; }
|
||||||
|
|
||||||
public AbsolutePath MO2ProfileDir => SourcePath.Combine("profiles", MO2Profile);
|
public AbsolutePath MO2ProfileDir => SourcePath.Combine("profiles", MO2Profile);
|
||||||
|
Reference in New Issue
Block a user