summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-example/afb-client/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-app-framework/recipes-example/afb-client/files')
-rw-r--r--meta-app-framework/recipes-example/afb-client/files/afb-client7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-example/afb-client/files/afb-client b/meta-app-framework/recipes-example/afb-client/files/afb-client
new file mode 100644
index 000000000..99e6aa968
--- /dev/null
+++ b/meta-app-framework/recipes-example/afb-client/files/afb-client
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -z "${XDG_RUNTIME_DIR+1}" ]; then
+ export XDG_RUNTIME_DIR=/run/user/$UID
+fi
+LD_PRELOAD=/usr/lib/libEGL.so /usr/bin/qt5/qmlscene http://localhost:1234/opa /usr/share/agl/afb-viewer.qml
+