fix(safety,openxr,dvr,config): harden RC/firmware failsafes, OpenXR lifecycle, DVR StreamCopy, relay & persistent config

This commit is contained in:
bleack committed 2026-11-25 22:42:25 +01:00
1 parent 8028680f07
commit d82a65d9e6
24 files changed
+2246 -638

No files matched your search

+19 -4
View File
@@ -1,15 +1,30 @@
#!/usr/bin/env bash
# SteamFrame FPV — Lanceur VR Natif (Mode Gaming SteamOS / OpenXR Direct sans fenêtre 2D)
set -e
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd "$DIR"
# Bibliothèques locales éventuelles
if [ -d "$HOME/.local/lib" ]; then
export LD_LIBRARY_PATH="$HOME/.local/lib:${LD_LIBRARY_PATH:-}"
if [ -d "$HOME/.cargo/bin" ]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
# Bibliothèques locales éventuelles (sans ':' final qui ajouterait CWD à LD_LIBRARY_PATH)
mkdir -p "$HOME/.local/lib"
if [ ! -f "$HOME/.local/lib/libxkbcommon-x11.so" ]; then
for candidate in \
"/usr/lib/aarch64-linux-gnu/libxkbcommon-x11.so.0" \
"/usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0" \
"/usr/lib/libxkbcommon-x11.so.0" \
"/usr/lib/libxkbcommon-x11.so"; do
if [ -f "$candidate" ]; then
ln -sf "$candidate" "$HOME/.local/lib/libxkbcommon-x11.so"
break
fi
done
fi
export LD_LIBRARY_PATH="$HOME/.local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
# Compiler en Release si le binaire n'est pas encore présent
if [ ! -f "$DIR/target/release/steamframe-fpv" ]; then
echo "Compilation initiale de SteamFrame FPV en mode Release..."