From f0a1ab5488425857987e94c883fd13cc661a92a8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 18 Oct 2020 02:45:21 +1100 Subject: MSYS and WSL installation improvements (#10593) --- util/linux_install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'util/linux_install.sh') diff --git a/util/linux_install.sh b/util/linux_install.sh index 0343b07e6f..fb8968386b 100755 --- a/util/linux_install.sh +++ b/util/linux_install.sh @@ -235,3 +235,17 @@ fi # Global install tasks install_bootloadhid pip3 install --user -r ${util_dir}/../requirements.txt + +if uname -a | grep -qi microsoft; then + echo "********************************************************************************" + echo "* Detected Windows Subsystem for Linux. *" + echo "* Currently, WSL has no access to USB devices and so flashing from within the *" + echo "* WSL terminal will not work. *" + echo "* *" + echo "* Please install the QMK Toolbox instead: *" + echo "* https://github.com/qmk/qmk_toolbox/releases *" + echo "* Then, map your WSL filesystem as a network drive: *" + echo "* \\\\\\\\wsl$\\ *" + echo "********************************************************************************" + echo +fi -- cgit v1.2.3