You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
564 B

  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. *FreeBSD*)
  12. exec "${util_dir}/freebsd_install.sh"
  13. ;;
  14. *Linux*)
  15. exec "${util_dir}/linux_install.sh"
  16. ;;
  17. MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
  18. exec "${util_dir}/msys2_install.sh"
  19. ;;
  20. *)
  21. echo "Environment not supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
  22. ;;
  23. esac