From: Youngsoo Choi Date: Fri, 3 Nov 2017 04:19:05 +0000 (+0900) Subject: [Tizen] Add script to set environment variables X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c50a8cff096c5d5e6d49d2e0214b50b9a31b894d;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git [Tizen] Add script to set environment variables Change-Id: I03df4c02bd7c78d57f8a4915790e3d759c9ec71d Signed-off-by: Youngsoo Choi --- diff --git a/packaging/org.tizen.electron-efl.xml.in b/packaging/org.tizen.electron-efl.xml.in index 39ac480..4758d2f 100644 --- a/packaging/org.tizen.electron-efl.xml.in +++ b/packaging/org.tizen.electron-efl.xml.in @@ -4,7 +4,7 @@ org.tizen.electron-efl.png SWC Web Runtime Engine based on electron-efl - + org.tizen.electron-efl.png diff --git a/wrt/build/script/run_was_tizen.sh b/wrt/build/script/run_was_tizen.sh new file mode 100755 index 0000000..a4406c7 --- /dev/null +++ b/wrt/build/script/run_was_tizen.sh @@ -0,0 +1,27 @@ +#!/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