forked from cafeberry/cafeberry
fix: orbis postbuild on runner (i beg of you)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user