Complete the Hangar to Terminus runtime path

This commit is contained in:
Meta Vens 2026-08-08 09:31:24 +01:00
commit 56a156ee87
9 changed files with 106 additions and 17 deletions

View file

@ -1,6 +1,7 @@
param(
[string] $UnityExe = "C:\Program Files\Unity\Hub\Editor\6000.4.2f1\Editor\Unity.exe",
[int] $Port = 3076,
[string] $State = "",
[switch] $SkipBuild
)
@ -11,7 +12,11 @@ $artifacts = Join-Path $project "Build\Logs"
$clientExe = Join-Path $project "Build\Windows\Aetheria.exe"
$daemonProject = Join-Path $root "Aetheria.State.Daemon\Aetheria.State.Daemon.csproj"
$importProject = Join-Path $root "Aetheria.State.Import\Aetheria.State.Import.csproj"
$state = Join-Path $project "Build\aetheria-unity.cc"
$state = if ([string]::IsNullOrWhiteSpace($State)) {
Join-Path $project "Build\aetheria-unity.cc"
} else {
[System.IO.Path]::GetFullPath($State)
}
$stateRecords = "$state.records"
New-Item -ItemType Directory -Force $artifacts | Out-Null

View file

@ -22,6 +22,9 @@ $expected = @{
"org.gamecult.eve.unity-scene" = @(
"https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.103",
"050b2019bd6faa4275013516870d1ded245ee391")
"org.gamecult.eve.unity-uitoolkit" = @(
"https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-uitoolkit#befdd6a4a1f0376b40a3103aae811670336c0fee",
"befdd6a4a1f0376b40a3103aae811670336c0fee")
}
foreach ($packageName in $expected.Keys) {
@ -114,6 +117,15 @@ foreach ($forbiddenInput in @("AetheriaRuntimeVerseSchemas", "AetheriaRuntimeVer
if ($bootstrapSource -match [regex]::Escape($forbiddenInput)) { throw "Client bootstrap depends on forbidden product input '$forbiddenInput'." }
}
$uiToolkitPackage = Get-ChildItem (Join-Path $ProjectPath "Library/PackageCache") -Directory |
Where-Object Name -Like "org.gamecult.eve.unity-uitoolkit@*" |
Select-Object -First 1
if (-not $uiToolkitPackage) { throw "Resolved Eve Unity UI Toolkit package is missing from Library/PackageCache." }
$uiToolkitLowererSource = Get-Content (Join-Path $uiToolkitPackage.FullName "Runtime/EveUiToolkitSurfaceLowerer.cs") -Raw
if ($uiToolkitLowererSource -notmatch 'unity-uitoolkit-.*Guid\.NewGuid') {
throw "Resolved Eve Unity UI Toolkit commands do not mint invocation-scoped idempotency keys."
}
$launcherSource = Get-Content (Join-Path (Split-Path $PSScriptRoot -Parent) "scripts/run-aetheria-unity.ps1") -Raw
if ($launcherSource -notmatch 'EVEUNITY_SURFACE_ID\s*=\s*"aetheria\.hangar"') {
throw "Released launcher must enter through the daemon-owned Hangar surface."