 f52b4e1a96
			
		
	
	
		f52b4e1a96
		
	
	
	
	
		
			
			If a env variable SUGAR_USE_WEBKIT1 exists, uses a different module to start the activity using a local webserver, borrowed from wikipedia activity. When use webkit1 the web inspector is not enabled, because do not work. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
		
			
				
	
	
		
			25 lines
		
	
	
		
			955 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			955 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| # Copyright (C) 2013 Daniel Narvaez
 | |
| #
 | |
| # This library is free software; you can redistribute it and/or
 | |
| # modify it under the terms of the GNU Lesser General Public
 | |
| # License as published by the Free Software Foundation; either
 | |
| # version 2 of the License, or (at your option) any later version.
 | |
| #
 | |
| # This library is distributed in the hope that it will be useful,
 | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | |
| # Lesser General Public License for more details.
 | |
| #
 | |
| # You should have received a copy of the GNU Lesser General Public
 | |
| # License along with this library; if not, write to the
 | |
| # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 | |
| # Boston, MA 02111-1307, USA.
 | |
| 
 | |
| if [ "$SUGAR_USE_WEBKIT1" == "yes" ]; then
 | |
|     exec sugar-activity sugar3.activity.webkit1.WebActivity $@
 | |
| else
 | |
|     exec sugar-activity sugar3.activity.webactivity.WebActivity $@
 | |
| fi
 |