From d787e10f87845a06cf15d11e592af4ae69d60ee8 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Fri, 11 Feb 2022 16:02:54 +0100 Subject: Add back HTML5 launcher to HTML5 demo Add the web-based launcher to the HTML5 demo dropping original launcher. It includes changes to the launcher to match the new navigator.appservice API and JS injection and drops agl-js-api. Bug-AGL: SPEC-4249 Change-Id: I02a68fc81693a56aa19e213e8ee200c0ec4e3f42 Signed-off-by: Jose Dapena Paz --- recipes-demo/html5-launcher/files/launcher.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-demo/html5-launcher/files/launcher.service (limited to 'recipes-demo/html5-launcher/files') diff --git a/recipes-demo/html5-launcher/files/launcher.service b/recipes-demo/html5-launcher/files/launcher.service new file mode 100644 index 000000000..67dcf5e1c --- /dev/null +++ b/recipes-demo/html5-launcher/files/launcher.service @@ -0,0 +1,15 @@ +[Unit] +Description=AGL Launcher +Requires=WebAppMgr.service dbus.service +After=WebAppMgr.service dbus.service + +[Service] +Type=simple +Environment=AFM_ID=launcher +Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-launcher/ +ExecStartPre=sleep 1 +ExecStart=/usr/bin/WebAppMgr +Restart=on-failure + +[Install] +WantedBy=agl-session.target -- cgit 1.2.3-korg