]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - util/qmk_install.sh
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / util / qmk_install.sh
index 0272f8af8c8a410eb54c3798640205017de83a63..76ecf5fc01da9d156922fbfc1ff5830964527120 100755 (executable)
@@ -3,14 +3,23 @@
 
 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"
+       ;;
+       *FreeBSD*)
+               exec "${util_dir}/freebsd_install.sh"
+       ;;
+       *Linux*)
                exec "${util_dir}/linux_install.sh"
        ;;
-       MSYS_NT*)
+       MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
                exec "${util_dir}/msys2_install.sh"
        ;;
+       *)
+               echo "Environment not supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
+       ;;
 esac