merge: Campaign LA LA9 - verified installer review-closed

This commit is contained in:
Erik 2026-08-14 21:06:26 +02:00
commit 2198a0cc8e
45 changed files with 5143 additions and 132 deletions

View file

@ -3,10 +3,24 @@ namespace AcDream.Launcher.Core.Launching;
/// <summary>
/// The DAT/pak locations a completed install (LA9) records and every
/// session-config composition consumes for
/// <see cref="SessionContentDescriptor"/>. SHA-256/version bookkeeping
/// for the install record itself is LA9/LA10 scope; this slice only
/// needs the two paths a session config requires.
/// <see cref="SessionContentDescriptor"/>. Integrity metadata is launcher-
/// local: it is verified before this record is admitted to the orchestrator
/// and is deliberately not copied into the host session-config contract.
/// </summary>
public sealed record LauncherInstallRecord(
string DatDirectory,
string PreparedAssetPath);
string PreparedAssetPath,
string PreparedAssetSha256 = "",
long PreparedAssetSize = 0,
uint BakeToolVersion = 0)
{
public const int CurrentRecordVersion = 1;
public int Version { get; init; } = CurrentRecordVersion;
public bool HasIntegrityMetadata =>
!string.IsNullOrEmpty(PreparedAssetSha256)
&& PreparedAssetSha256.Length == 64
&& PreparedAssetSize > 0
&& BakeToolVersion > 0;
}