fixup! [Tizen] Add script to set environment variables 34/159034/3
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Nov 2017 12:55:45 +0000 (21:55 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 7 Nov 2017 07:19:45 +0000 (16:19 +0900)
Tizen app framework sends magic value of parameter, like 'zaybxcwdveuftgsh'
when launching app on homescreen.

This ignores the magic value.

Change-Id: I0c4ce984ecdc592489885aa4a14c9b6e427109f4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
wrt/build/script/run_was_tizen.sh

index a4406c7..76ab74c 100755 (executable)
@@ -17,11 +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
 
-if [  -n "$1" ]
-then
-  echo "PACKAGE_NAME : " $1
-  $SCRIPTDIR/electron --harmony --use_strict -p $1
-else
-  echo "Start launcher"
-  $SCRIPTDIR/electron --harmony --use_strict
-fi
+echo "Start launcher"
+$SCRIPTDIR/electron