summaryrefslogtreecommitdiffstats
path: root/recipes-wam/wam/files/WebAppMgrCli
diff options
context:
space:
mode:
authorRoger Zanoni <rzanoni@igalia.com>2023-06-23 14:06:20 +0200
committerRoger Zanoni <rzanoni@igalia.com>2023-07-18 15:28:52 +0200
commit1ad25b9039ef910dc444e50fd43245c31d9bcae9 (patch)
treee29b75b0abcaddd0f16a7f238be7873fe0530b56 /recipes-wam/wam/files/WebAppMgrCli
parent7a7c0e1f4c62ab976dfd2a58d33ed93d62c587d3 (diff)
[wam][cef] Make it possible to use cef as a backend
This changes enables switching between the chromium and cef backends on wam by passing the agl-cef feature to the agl-setup script. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ib5b4b139789ec8303fef0a210a7e8f2f724d0c00
Diffstat (limited to 'recipes-wam/wam/files/WebAppMgrCli')
-rwxr-xr-xrecipes-wam/wam/files/WebAppMgrCli9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-wam/wam/files/WebAppMgrCli b/recipes-wam/wam/files/WebAppMgrCli
new file mode 100755
index 00000000..4312e047
--- /dev/null
+++ b/recipes-wam/wam/files/WebAppMgrCli
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+WAM_CLI_EXE="/usr/bin/WebAppMgr"
+
+if [ "$WAM_IS_CEF" = true ] ; then
+ WAM_CLI_EXE="/usr/share/wam/WebAppMgrCli"
+fi
+
+exec $WAM_CLI_EXE $@