diff --git a/launcher/src/main.rs b/launcher/src/main.rs index 0fb463b..c63c2f1 100644 --- a/launcher/src/main.rs +++ b/launcher/src/main.rs @@ -276,9 +276,9 @@ fn run_checks(root: &Path, cfg: &Config) -> Checks { } } -/// le moteur annonce l'option --charger dans son aide : on la cherche dans l'exécutable +/// le moteur lit l'option « --charger » : la chaîne figure alors dans l'exécutable (suivie d'un 0) fn engine_can_load(exe: &Path) -> bool { - std::fs::read(exe).is_ok_and(|b| b.windows(10).any(|w| w == b"--charger ")) + std::fs::read(exe).is_ok_and(|b| b.windows(10).any(|w| w == b"--charger")) } // ------------------------------------------------------------------ tâches de fond