Add WSL support to script
This commit is contained in:
		
							parent
							
								
									bcdd7735c8
								
							
						
					
					
						commit
						bd4ba8d180
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -3,11 +3,14 @@
 | 
			
		|||
 | 
			
		||||
util_dir=$(dirname "$0")
 | 
			
		||||
 | 
			
		||||
case $(uname) in
 | 
			
		||||
	Darwin)
 | 
			
		||||
case $(uname -a) in
 | 
			
		||||
	*Darwin*)
 | 
			
		||||
		exec "${util_dir}/macos_install.sh"
 | 
			
		||||
	;;
 | 
			
		||||
	Linux)
 | 
			
		||||
  *Linux*Microsoft*)
 | 
			
		||||
		exec "${util_dir}/wsl_install.sh"
 | 
			
		||||
  ;;
 | 
			
		||||
	*Linux*)
 | 
			
		||||
		exec "${util_dir}/linux_install.sh"
 | 
			
		||||
	;;
 | 
			
		||||
	MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue