afm-launch.conf: handle services through application/vnd.agl.service mimetype
[src/app-framework-main.git] / conf / afm-launch.conf.in
similarity index 78%
rename from conf/afm-launch.conf
rename to conf/afm-launch.conf.in
index a012904..c5d4461 100644 (file)
@@ -24,6 +24,9 @@ text/html
 application/x-executable
        %r/%c
 
+application/vnd.agl.service
+       /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/%c --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+
 text/vnd.qt.qml
        /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c