From 0f13a55f520eef5206f24500193641d62693ebb2 Mon Sep 17 00:00:00 2001 From: ruv Date: Sat, 14 Mar 2026 13:03:56 -0400 Subject: [PATCH] fix(installer): add Windows/MINGW detection with WSL/Docker guidance Co-Authored-By: claude-flow --- scripts/install-qemu.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/install-qemu.sh b/scripts/install-qemu.sh index adfe9842..0cc7089d 100644 --- a/scripts/install-qemu.sh +++ b/scripts/install-qemu.sh @@ -92,6 +92,15 @@ detect_os() { fi ;; Darwin) OS="macos"; DISTRO="macos" ;; + MINGW*|MSYS*) + err "Native Windows/MINGW detected." + err "QEMU ESP32-S3 must be built on Linux or macOS." + err "Options:" + err " 1. Use WSL: wsl bash scripts/install-qemu.sh" + err " 2. Use Docker: docker run -it ubuntu:22.04 bash" + err " 3. Download pre-built: https://github.com/espressif/qemu/releases" + exit 3 + ;; *) err "Unsupported OS: $(uname -s)"; exit 3 ;; esac