feat(steamframe-gaming): add --vr-only native mode, OpenXR controllers, minimalist VR menu & Gaming Mode launcher

This commit is contained in:
bleack committed 2026-11-24 19:15:22 +01:00
1 parent 0823a9e682
commit 128afc2810
12 files changed
+793 -124

No files matched your search

+12 -4
View File
@@ -25,12 +25,20 @@ if [ "$ARCH" = "aarch64" ]; then
export RUSTFLAGS="-C target-cpu=native -C opt-level=3"
cargo build --release
echo "[3/3] Installation locale du lanceur .desktop..."
echo "[3/3] Installation locale des lanceurs .desktop (Bureau GPUI + Mode VR Gaming)..."
mkdir -p ~/.local/share/applications
cp steamframe-fpv.desktop ~/.local/share/applications/
sed -i "s|/home/deck/projects/steamframe_fpv|$DIR|g" ~/.local/share/applications/steamframe-fpv.desktop
chmod +x "$DIR/launch.sh" "$DIR/launch_vr.sh"
for desktop_file in steamframe-fpv.desktop steamframe-fpv-vr.desktop; do
cp "$desktop_file" ~/.local/share/applications/
sed -i -E \
-e "s|^Exec=.*/(launch(_vr)?\.sh)|Exec=$DIR/\1|g" \
-e "s|^Path=.*|Path=$DIR|g" \
-e "s|^Icon=.*/assets/|Icon=$DIR/assets/|g" \
"$HOME/.local/share/applications/$desktop_file"
done
echo "=== SUCCÈS : Binaire compilé dans $DIR/target/release/steamframe-fpv ==="
echo " Mode Gaming : ajoutez 'SteamFrame FPV (Mode VR)' (launch_vr.sh) en jeu non-Steam."
else
echo "[!] Exécution sur hôte ${ARCH} (Ubuntu / PC de développement)."
echo "[2/3] Compilation Release hôte standard..."
@@ -39,7 +47,7 @@ else
echo "[3/3] Création de l'archive de déploiement pour le Steam Frame..."
mkdir -p dist
tar --exclude="target" --exclude=".git" -czf dist/steamframe-fpv-deploy.tar.gz \
Cargo.toml Cargo.lock src scripts assets README.md launch.sh steamframe-fpv.desktop
Cargo.toml Cargo.lock src scripts assets README.md launch.sh launch_vr.sh steamframe-fpv.desktop steamframe-fpv-vr.desktop
echo "=== SUCCÈS : Archive de déploiement créée dans $DIR/dist/steamframe-fpv-deploy.tar.gz ==="
echo "Pour déployer sur le casque, lancez : ./scripts/deploy_to_steamframe.sh [ip_steamframe]"