doc: add new document quick-tutorial
[src/app-framework-main.git] / conf / afm-launch.conf
1 # %% %
2 # %a appid
3 # %c content
4 # %D datadir
5 # %H height
6 # %h homedir
7 # %I icondir
8 # %m mime-type
9 # %n name
10 # %p plugins
11 # %P port
12 # %R readyfd
13 # %r rootdir
14 # %S secret
15 # %W width
16
17 #-----------------
18 mode local
19 #-----------------
20 text/html
21         /usr/bin/afb-daemon --mode=local --readyfd=%R --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 --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
36         http://%%h:%P/%c?token=%S
37