mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
fix(safety,openxr,dvr,config): harden RC/firmware failsafes, OpenXR lifecycle, DVR StreamCopy, relay & persistent config
This commit is contained in:
1 parent
8028680f07
commit
d82a65d9e6
24 files changed
+2246
-638
No files matched your search
@@ -28,12 +28,13 @@ if [ "$ARCH" = "aarch64" ]; then
|
||||
echo "[3/3] Installation locale des lanceurs .desktop (Bureau GPUI + Mode VR Gaming)..."
|
||||
mkdir -p ~/.local/share/applications
|
||||
chmod +x "$DIR/launch.sh" "$DIR/launch_vr.sh"
|
||||
ESCAPED_DIR=$(printf '%s\n' "$DIR" | sed -e 's/[&|\\]/\\&/g')
|
||||
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" \
|
||||
-e "s|^Exec=.*/(launch(_vr)?\.sh)|Exec=${ESCAPED_DIR}/\1|g" \
|
||||
-e "s|^Path=.*|Path=${ESCAPED_DIR}|g" \
|
||||
-e "s|^Icon=.*/assets/|Icon=${ESCAPED_DIR}/assets/|g" \
|
||||
"$HOME/.local/share/applications/$desktop_file"
|
||||
done
|
||||
|
||||
@@ -41,13 +42,17 @@ if [ "$ARCH" = "aarch64" ]; then
|
||||
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..."
|
||||
cargo build --release
|
||||
if [ "${1:-}" != "--package-only" ]; then
|
||||
echo "[2/3] Compilation Release hôte standard..."
|
||||
cargo build --release
|
||||
else
|
||||
echo "[2/3] Mode --package-only : compilation hôte ignorée."
|
||||
fi
|
||||
|
||||
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 launch_vr.sh steamframe-fpv.desktop steamframe-fpv-vr.desktop
|
||||
tar --exclude="target" --exclude=".git" --exclude="__pycache__" -czf dist/steamframe-fpv-deploy.tar.gz \
|
||||
Cargo.toml Cargo.lock src patches 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]"
|
||||
|
||||
Reference in new issue
Block a user