Revert "fix for electron app" 88/161088/1
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 21 Nov 2017 10:51:21 +0000 (19:51 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 21 Nov 2017 11:00:04 +0000 (20:00 +0900)
This reverts the draft patch that was merged.

This reverts commit 5fcc70871dadcf7c5c4246e17ecfc9f1fb76ad3b.

Change-Id: If7885d4f1f029d09edbbce2dfcefea917f82ddc2

wrt/build/script/run_was_tizen.sh

index 042827f..d20d131 100755 (executable)
@@ -9,6 +9,7 @@ export WAS_HOME=/opt/usr/home/owner/data/electron/wrt_support
 
 #MAIN,RUNTIME,WEBAPPLICATION,WEBVIEW
 export TARGET=TIZEN
+export DEBUG=*
 export WAS_EXTENSIONS_REPO=$WAS_HOME/extensions_repo
 export WAS_EXTENSIONS_PATH=$WAS_HOME/extensions
 export WAS_INSTALLER_PATH=$WAS_HOME/installer
@@ -16,21 +17,5 @@ export WAS_INSTALLER_EXT_PATH=$WAS_HOME/installer/js/extension
 export WAS_APPS_REPO=$WAS_HOME/apps_repo
 export WAS_SAMPLE_PATH=$WAS_HOME/sample
 
-# Source the optparse.bash file ---------------------------------------------------
-source $SCRIPTDIR/optparse/optparse.bash
-# Define options
-optparse.define short=a long=app desc="path" variable=path
-optparse.define short=d long=debug desc="debug mode on" variable=debug value=true default=false
-
-if [ "$debug" = "true" ]; then
-  echo "********* DEBUG MODE ON *********"
-  export DEBUG=*
-fi
-
 echo "Start launcher"
-if [ -n "$path" ]; then
-  echo "PATH : " $path
-  $SCRIPTDIR/electron $path
-else
-  $SCRIPTDIR/electron
-fi
+$SCRIPTDIR/electron