qmk_install.sh 514 B

12345678910111213141516171819202122
  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 supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
  19. ;;
  20. esac