~ruther/qmk_firmware

ref: 146873fd8e6f3ca08ba1c0a283f70cb2e72c0c83 qmk_firmware/util/qmk_install.sh -rwxr-xr-x 564 bytes
146873fd — Brandon Schlack Add more community layout support to Discipline (#8540) 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# Pick the correct install script based on the current OS

util_dir=$(dirname "$0")

case $(uname -a) in
	*Darwin*)
		exec "${util_dir}/macos_install.sh"
	;;
	*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 supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
	;;
esac