From c675bafdf15cc19276bd8276c34f56404a5ecb62 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 27 Jul 2022 16:06:14 -0400 Subject: Rework to use systemd for app enumeration Rework to replace the Glib .desktop file based app enumeration scheme with querying systemd for units matching the pattern agl-app*@*.service and parsing out the application ID from the unit instance name. At the moment this assumes the use of template units, but that could be changed to open up using non-templated units if desired. Application icons are now assumed to be named with the application ID, and the systemd unit file "Description" field is read and used as the application display name. This avoids needing metadata outside of the systemd unit files. Bug-AGL: SPEC-4466 Signed-off-by: Scott Murray Change-Id: Ida7dc8f7fdb96722df0886eb9a72ee14b0856083 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 943679c..83ea36d 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ This interface can be used to: For more details about the D-Bus interface, please refer to the file `data/org.automotivelinux.AppLaunch.xml`. -Applications can be started either through D-Bus activation (using their D-Bus -name) or by specifying a command line to be executed, and are monitored until -they exit. Please note `applaunchd` allows only one instance of a given +Applications are enumerated from systemd's list of available units based on +the pattern agl-app*@*.service, and are started and controled using their +systemd unit. Please note `applaunchd` allows only one instance of a given application. AGL repo for source code: -- cgit 1.2.3-korg