Add WSL support to script

master
Drashna Jaelre 2018-08-11 12:59:26 -07:00 committed by skullydazed
parent bcdd7735c8
commit bd4ba8d180
1 changed files with 6 additions and 3 deletions

View File

@ -3,11 +3,14 @@
util_dir=$(dirname "$0") util_dir=$(dirname "$0")
case $(uname) in case $(uname -a) in
Darwin) *Darwin*)
exec "${util_dir}/macos_install.sh" exec "${util_dir}/macos_install.sh"
;; ;;
Linux) *Linux*Microsoft*)
exec "${util_dir}/wsl_install.sh"
;;
*Linux*)
exec "${util_dir}/linux_install.sh" exec "${util_dir}/linux_install.sh"
;; ;;
MSYS_NT*|MINGW64_NT*|MINGW32_NT*) MSYS_NT*|MINGW64_NT*|MINGW32_NT*)