mirror of
https://github.com/Project-Babble/Baballonia.git
synced 2026-11-20 00:51:30 -08:00
Steam Linux Runtime 4 deployment: - Bundle app-local ICU so the app boots under steamrt4 (no system libicui18n) - Use the GStreamer-free OpenCV mini-runtime (4.11.0.2) on Linux - Access V4L2 through libc instead of the unversioned libv4l2 soname (LibV4L2 + VFT) - Build Linux CI artifacts inside the steamrt4 SDK container - Exclude the local CUDA trainer bundle (_internal) and fix the MSB3024 copy error - Fall back across capture backends without an unhandled exception aborting startup - Add steamrt4 build/run scripts; gitignore .vscode and the trainer _internal bundle Firmware / serial: - Surface live espflash progress and a clear failure state instead of always "Done!" - Stop only serial camera feeds on Refresh (never on tab navigation); release all firmware serial handles when leaving the tab - Skip version-unsupported requests (SetPausedRequest on v2) and drop dead-port sessions - Fix the SerialCameraCapture dispose crash on device unplug
28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Run the published Baballonia.Desktop under Steam Linux Runtime 4 (from the Steam
|
|
# folder) — i.e. the real container the app ships into. Build first with
|
|
# scripts/steamrt4-build.sh.
|
|
#
|
|
# Usage: scripts/steamrt4-run.sh [linux-x64|linux-arm64] (default linux-x64)
|
|
set -euo pipefail
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
|
|
ARCH="${1:-linux-x64}"
|
|
RT="${STEAMRT4:-$HOME/.local/share/Steam/steamapps/common/SteamLinuxRuntime_4}"
|
|
APP="$PWD/src/Baballonia.Desktop/bin/Release/net10.0/$ARCH/publish"
|
|
|
|
if [ ! -x "$RT/_v2-entry-point" ]; then
|
|
echo "Steam Linux Runtime 4 not found at: $RT" >&2
|
|
echo "Install it with: steam steam://install/4183110 (or set \$STEAMRT4 to its path)" >&2
|
|
exit 1
|
|
fi
|
|
if [ ! -x "$APP/Baballonia.Desktop" ]; then
|
|
echo "No build at: $APP" >&2
|
|
echo "Run the 'Build (steamrt4 SDK)' button / scripts/steamrt4-build.sh $ARCH first." >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo ">> launching Baballonia.Desktop under Steam Runtime 4 ($RT)"
|
|
cd "$APP" # content root must be the publish dir so models/Calibration resolve
|
|
exec "$RT/_v2-entry-point" --verb=run -- ./Baballonia.Desktop
|