diff --git a/configs/releng/airootfs/usr/local/bin/fws-gameboot b/configs/releng/airootfs/usr/local/bin/fws-gameboot index acac562..a549d67 100644 --- a/configs/releng/airootfs/usr/local/bin/fws-gameboot +++ b/configs/releng/airootfs/usr/local/bin/fws-gameboot @@ -129,7 +129,10 @@ cmd_to_windows() { game="$(printf '%s' "$game" | tr '[:upper:]' '[:lower:]' | tr -cd 'a-z0-9_-')" [ -n "$game_req" ] && [ -z "$game" ] && warn "identifiant --game invalide après nettoyage — jeu par défaut appliqué." win="$(find_windows_bootnum)" - [ -n "$win" ] || die "entrée « Windows Boot Manager » introuvable (Windows installé + entrée UEFI présente ?)" + if [ -z "$win" ]; then + notify_user "Windows introuvable — installe d'abord le Windows gaming (entrée de boot UEFI absente)." + die "entrée « Windows Boot Manager » introuvable (Windows installé + entrée UEFI présente ?)" + fi esp="$(find_esp)" # Jeton « quel jeu lancer », lu ET CONSOMMÉ par fws-play côté Windows.