conf: adds mode for the binder
[src/app-framework-main.git] / conf / afm-launch.conf
1 # %I icondir
2 # %P port
3 # %S secret
4 # %D datadir
5 # %r rootdir
6 # %h homedir
7 # %t tag (smack label)
8 # %a appid
9 # %c content
10 # %m mime-type
11 # %n name
12 # %p plugins
13 # %W width
14 # %H height
15 # %% %
16
17 #-----------------
18 mode local
19 #-----------------
20 text/html
21         /usr/bin/afb-daemon --mode local --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
22         /usr/bin/web-runtime http://localhost:%P/%c?token=%S
23
24 application/x-executable
25         %r/%c
26
27 text/vnd.qt.qml
28         /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
29
30 #-----------------
31 mode remote
32 #-----------------
33
34 text/html
35         /usr/bin/afb-daemon --mode remote --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
36         http://%%h:%P/%c?token=%S
37