qmk_install.sh 496 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. # Pick the correct install script based on the current OS
  3. util_dir=$(dirname "$0")
  4. case $(uname -a) in
  5. *Darwin*)
  6. exec "${util_dir}/macos_install.sh"
  7. ;;
  8. *Linux*Microsoft*)
  9. exec "${util_dir}/wsl_install.sh"
  10. ;;
  11. *Linux*)
  12. exec "${util_dir}/linux_install.sh"
  13. ;;
  14. MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
  15. exec "${util_dir}/msys2_install.sh"
  16. ;;
  17. *)
  18. echo "Environment not support. Pleas see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools"
  19. esac