| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -7,9 +7,13 @@ function error {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				#start on this step:
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				#step=6
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				#step=1
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				#name=myapp
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				if [ -z "$step" ];then
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				  step=1
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				fi
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				while true;do
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				  case $step in
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    1)
 | 
			
		
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
			
			 | 
			 | 
			
				@ -27,7 +31,7 @@ With a few simple steps, your project can take advantage of Pi-Apps"\'" features
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				      fi
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				      output="$(yad --form \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --title="Create App: Step $step" --window-icon="${DIRECTORY}/icons/logo.png" --center --width=310 --height=300 \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --text="Step ${step}: enter some information. Only name field is mandatory." \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --text="Step ${step}: enter some information. The name field is mandatory." \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --field="Name of app:$([ ! -z "$namelocked" ]&&echo ':RO')"  "$name" \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --field="Website:" "$(cat "${DIRECTORY}/apps/${name}/website")" \
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        --field="Icon:":FL --file-filter "Graphics Files | *.png *.svg *.jpg *.jpeg" "$icon" \
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |