diff options
author | Ryan <[email protected]> | 2020-10-18 02:45:21 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-18 02:45:21 +1100 |
commit | f0a1ab5488425857987e94c883fd13cc661a92a8 (patch) | |
tree | 8691394ba36f3f56820f72dd9f3abe789e7b44fd /util/linux_install.sh | |
parent | 1a2a838bc204d0b287366d9518b0d222cbb33049 (diff) | |
download | qmk_firmware-f0a1ab5488425857987e94c883fd13cc661a92a8.tar.gz qmk_firmware-f0a1ab5488425857987e94c883fd13cc661a92a8.zip |
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 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$\\<distro> *" + echo "********************************************************************************" + echo +fi |