diff options
author | Ryan <fauxpark@gmail.com> | 2020-10-18 02:45:21 +1100 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:43:32 -0800 |
commit | 02a073ce83acbed1fc4f34af8e4cf2f979d0b972 (patch) | |
tree | 78d24e7eedaed67b8dae7ee8bc00359f8de72944 /util/linux_install.sh | |
parent | aab7d18bcb42774b9f27ed90da2ab18ad04802ca (diff) |
MSYS and WSL installation improvements (#10593)
Diffstat (limited to 'util/linux_install.sh')
-rwxr-xr-x | util/linux_install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util/linux_install.sh b/util/linux_install.sh index 400f43cb89..01518a29d7 100755 --- a/util/linux_install.sh +++ b/util/linux_install.sh @@ -229,3 +229,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$\\<distro> *" + echo "********************************************************************************" + echo +fi |