REVAMP : Firefox handling
All checks were successful
release / build (push) Successful in 25s
release / verify-windows (push) Successful in 1m15s

This commit is contained in:
jeanotx32
2026-08-12 01:46:14 +02:00
parent 3bd4d5f2ba
commit 77bfa0b8c5
14 changed files with 1223 additions and 108 deletions

View File

@@ -138,13 +138,20 @@ else
info "Node.js $(node -v) présent"
fi
# --- xdotool (rappel plein écran) -------------------------------------------
# --- Prérequis du rappel plein écran ----------------------------------------
# Firefox est le prérequis du mode de pilotage « WebDriver BiDi », le seul qui
# fonctionne en session Wayland. xdotool ne sert plus qu'au mode historique.
if ! command -v firefox >/dev/null 2>&1; then
echo "! Firefox absent : le pilotage « WebDriver BiDi » sera indisponible."
echo " Installe-le sur cette VM (snap install firefox, ou apt install firefox)."
fi
if ! command -v xdotool >/dev/null 2>&1; then
if command -v apt-get >/dev/null 2>&1; then
info "Installation de xdotool (rappel plein écran)"
info "Installation de xdotool (mode de pilotage historique)"
apt-get install -y xdotool >/dev/null
else
echo "! xdotool absent : le rappel plein écran sera indisponible."
echo "! xdotool absent : seul le pilotage « WebDriver BiDi » sera disponible."
fi
fi