afm-launch: remove unused tag field
[src/app-framework-main.git] / conf / afm-launch.conf
index 771569b..4dd721b 100644 (file)
@@ -1,21 +1,24 @@
-# %I icondir
-# %P port
-# %S secret
-# %D datadir
-# %r rootdir
-# %h homedir
-# %t tag (smack label)
+# %% %
 # %a appid
 # %c content
+# %D datadir
+# %H height
+# %h homedir
+# %I icondir
 # %m mime-type
 # %n name
 # %p plugins
+# %P port
+# %R readyfd
+# %r rootdir
+# %S secret
 # %W width
-# %H height
-# %% %
 
+#-----------------
+mode local
+#-----------------
 text/html
-       /usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D
+       /usr/bin/afb-daemon --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
        /usr/bin/web-runtime http://localhost:%P/%c?token=%S
 
 application/x-executable
@@ -24,3 +27,11 @@ application/x-executable
 text/vnd.qt.qml
        /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
 
+#-----------------
+mode remote
+#-----------------
+
+text/html
+       /usr/bin/afb-daemon --mode=remote --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+       http://%%h:%P/%c?token=%S
+