output powershell installation stderr for non-zero exit codes

This commit is contained in:
Kent Slaney 2025-10-07 10:46:15 -07:00
parent d5cef39b90
commit 8c271aae5d
2 changed files with 4 additions and 4 deletions

View file

@ -1,14 +1,14 @@
pkgbase = bakkesmod-steam
pkgdesc = A mod aimed at making you better at Rocket League!
pkgver = 2.58
pkgrel = 2
pkgrel = 3
url = https://bakkesmod.com/
arch = x86_64
license = GPL
makedepends = python
source = dll-2-0-58.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/releases/download/2.0.58/bakkesmod.zip
source = src-2-0-58.zip::https://github.com/bakkesmodorg/BakkesModInjectorCpp/archive/refs/tags/2.0.58.zip
source = loopback-2-58-2.zip::https://github.com/kentslaney/bakkesmod-arch/archive/refs/tags/2.58-2-steam.zip
source = loopback-2-58-3.zip::https://github.com/kentslaney/bakkesmod-arch/archive/refs/tags/2.58-3-steam.zip
source = https://github.com/kentslaney/bakkesmod-arch/releases/download/c369f24-1/inject.exe
source = https://github.com/kentslaney/bakkesmod-arch/releases/download/05ea332-1/powershell32.exe
source = https://github.com/kentslaney/bakkesmod-arch/releases/download/05ea332-1/powershell64.exe

View file

@ -2,7 +2,7 @@
pkgname=bakkesmod-steam
rlver=( 2 0 58 )
pkgver="${rlver[0]}.${rlver[2]}"
pkgrel=2
pkgrel=3
pkgdesc="A mod aimed at making you better at Rocket League!"
arch=('x86_64')
url="https://bakkesmod.com/"
@ -143,7 +143,7 @@ powershell() {
pth64="$WINEPREFIX/drive_c/windows/syswow64/WindowsPowerShell/v1.0/powershell.exe"
cp -f powershell32_.exe "$pth32"; cp -f powershell64_.exe "$pth64";
( powershell_installer "$1" ) 2>/dev/null
( powershell_installer "$1" 2>pwsh.log ) || ( cat pwsh.log && false )
cp -f powershell32.exe "$pth32"; cp -f powershell64.exe "$pth64";
if kill -0 "$sandbox_pid" &> /dev/null; then kill "$sandbox_pid"; fi
rm -f fsync