summaryrefslogtreecommitdiff
path: root/util/linux_install.sh
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-10-18 02:45:21 +1100
committerGitHub <noreply@github.com>2020-10-18 02:45:21 +1100
commitf0a1ab5488425857987e94c883fd13cc661a92a8 (patch)
tree8691394ba36f3f56820f72dd9f3abe789e7b44fd /util/linux_install.sh
parent1a2a838bc204d0b287366d9518b0d222cbb33049 (diff)
MSYS and WSL installation improvements (#10593)
Diffstat (limited to 'util/linux_install.sh')
-rwxr-xr-xutil/linux_install.sh14
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