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:
parent
55b26cec65
commit
d919a097e3
@ -25,7 +25,10 @@ namespace Wabbajack.Lib
|
||||
public bool ModlistIsNSFW;
|
||||
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");
|
||||
/// <summary>
|
||||
/// 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;
|
||||
protected readonly Subject<(string, float)> _progressUpdates = new Subject<(string, float)>();
|
||||
|
||||
public abstract ModManager ModManager { get; }
|
||||
|
||||
public abstract AbsolutePath GamePath { get; }
|
||||
|
||||
public AbsolutePath SourcePath { get;}
|
||||
|
@ -33,8 +33,6 @@ namespace Wabbajack.Lib
|
||||
|
||||
public string MO2Profile { get; }
|
||||
|
||||
public override ModManager ModManager => ModManager.MO2;
|
||||
|
||||
public override AbsolutePath GamePath { get; }
|
||||
|
||||
public GameMetaData CompilingGame { get; }
|
||||
@ -45,10 +43,6 @@ namespace Wabbajack.Lib
|
||||
|
||||
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 AbsolutePath MO2ProfileDir => SourcePath.Combine("profiles", MO2Profile);
|
||||
|
Loading…
Reference in New Issue
Block a user