fix(ci): correct APP_PID to reference the app instead of timeout wrapper

This commit is contained in:
plebeius
2026-01-28 15:30:37 +08:00
parent b84ee93c50
commit b2e1500935

View File

@@ -348,7 +348,7 @@ jobs:
EXE=$(find dist/win-unpacked -maxdepth 1 -iname "*.exe" | head -n 1)
if [ -n "$EXE" ]; then
echo "Testing: $EXE"
timeout 15s "$EXE" &
"$EXE" &
APP_PID=$!
sleep 10
if kill -0 $APP_PID 2>/dev/null; then