| 
						
						
						
					 | 
					 | 
					@ -1,7 +1,11 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#!/usr/bin/env sh
 | 
					 | 
					 | 
					 | 
					#!/usr/bin/env sh
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					BOLD='\033[0;1m'
 | 
					 | 
					 | 
					 | 
					BOLD='\033[0;1m'
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# check if
 | 
					 | 
					 | 
					 | 
					# check if VS Code is installed
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					if
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  ! command -v code &
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  >/dev/null
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					then
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  printf "$${BOLD}Installing VS Code!\n"
 | 
					 | 
					 | 
					 | 
					  printf "$${BOLD}Installing VS Code!\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  output=$(curl -L "https://update.code.visualstudio.com/${VERSION}/linux-deb-x64/stable" -o /tmp/code.deb && sudo apt-get install -y /tmp/code.deb)
 | 
					 | 
					 | 
					 | 
					  output=$(curl -L "https://update.code.visualstudio.com/${VERSION}/linux-deb-x64/stable" -o /tmp/code.deb && sudo apt-get install -y /tmp/code.deb)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if [ $? -ne 0 ]; then
 | 
					 | 
					 | 
					 | 
					  if [ $? -ne 0 ]; then
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -9,6 +13,9 @@ if [ $? -ne 0 ]; then
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    exit 1
 | 
					 | 
					 | 
					 | 
					    exit 1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  fi
 | 
					 | 
					 | 
					 | 
					  fi
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  printf "🥳 VS code has been installed.\n\n"
 | 
					 | 
					 | 
					 | 
					  printf "🥳 VS code has been installed.\n\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  printf "🥳 VS code is already installed.\n\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					fi
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					echo "👷 Running code serve-web in the background..."
 | 
					 | 
					 | 
					 | 
					echo "👷 Running code serve-web in the background..."
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					echo "Check logs at ${LOG_PATH}!"
 | 
					 | 
					 | 
					 | 
					echo "Check logs at ${LOG_PATH}!"
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |