<icon>org.tizen.electron-efl.png</icon>
<author href="www.samsung.com" email="kenshin.choi@samsung.com">SWC</author>
<description>Web Runtime Engine based on electron-efl</description>
- <ui-application appid="org.tizen.electron-efl" exec="@TZ_SYS_RO_APP@/org.tizen.electron-efl/bin/electron" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+ <ui-application appid="org.tizen.electron-efl" exec="@TZ_SYS_RO_APP@/org.tizen.electron-efl/bin/run_was_tizen.sh" nodisplay="false" multiple="false" type="capp" taskmanage="true">
<label>electron-efl</label>
<icon>org.tizen.electron-efl.png</icon>
<label xml:lang="en-us">electron-efl</label>
--- /dev/null
+#!/bin/bash
+
+##value
+export SCRIPTDIR=$(readlink -e $(dirname $0))
+export WAS_HOME=$SCRIPTDIR/resources/wrt_support
+
+# we use this npm module for debugging
+# https://github.com/visionmedia/debug
+
+#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
+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