From b7e90137b983ade550310beadb7f713ccc0212a2 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Sun, 2 Aug 2026 16:45:38 -0400 Subject: [PATCH] fix: orbis postbuild on runner (i beg of you) --- Minecraft.Client/Common/Postbuilds/Orbis-postbuild.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Postbuilds/Orbis-postbuild.ps1 b/Minecraft.Client/Common/Postbuilds/Orbis-postbuild.ps1 index 057864de..3b9aed05 100644 --- a/Minecraft.Client/Common/Postbuilds/Orbis-postbuild.ps1 +++ b/Minecraft.Client/Common/Postbuilds/Orbis-postbuild.ps1 @@ -127,7 +127,12 @@ if (-not (Test-Path $genGp4)) { Write-Host "Orbis Postbuild: '$pkgSrc' not found, skipping PKG creation." } else { Write-Host "Orbis Postbuild: Generating GP4..." - & $genGp4 $pkgSrc + $proc = Start-Process -FilePath $genGp4 -ArgumentList $pkgSrc ` + -NoNewWindow -Wait -PassThru + if ($proc.ExitCode -ne 0) { + Write-Host "Orbis Postbuild ERROR: gengp4_app.exe failed with exit code $($proc.ExitCode)" + return + } if (-not (Test-Path $gp4File)) { Write-Host "Orbis Postbuild ERROR: $gp4File was not created"