X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=util%2Fqmk_install.sh;h=76ecf5fc01da9d156922fbfc1ff5830964527120;hb=2a231457bd494079c36cf3e07c9b887016adb491;hp=fede835dbc024a2df123340784be7f5b99e4e11b;hpb=bcdd7735c8fca998d7d609ebb4be22ee29b6e340;p=qmk_firmware.git diff --git a/util/qmk_install.sh b/util/qmk_install.sh index fede835db..76ecf5fc0 100755 --- a/util/qmk_install.sh +++ b/util/qmk_install.sh @@ -3,16 +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*|MINGW64_NT*|MINGW32_NT*) exec "${util_dir}/msys2_install.sh" ;; - *) - echo "Environment not support. Pleas see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools" + *) + echo "Environment not supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually." + ;; esac