summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/qmk_install.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/qmk_install.sh b/util/qmk_install.sh
index fede835dbc..fefbc6f861 100755
--- a/util/qmk_install.sh
+++ b/util/qmk_install.sh
@@ -3,11 +3,14 @@
util_dir=$(dirname "$0")
-case $(uname) in
- Darwin)
+case $(uname -a) in
+ *Darwin*)
exec "${util_dir}/macos_install.sh"
;;
- Linux)
+ *Linux*Microsoft*)
+ exec "${util_dir}/wsl_install.sh"
+ ;;
+ *Linux*)
exec "${util_dir}/linux_install.sh"
;;
MSYS_NT*|MINGW64_NT*|MINGW32_NT*)