aa1812cf2f4eae6a66bc79936e01890ac573f3b4
[src/app-framework-main.git] / conf / afm-launch.conf.in
1 # %% %
2 # %a appid
3 # %b bindings
4 # %c content
5 # %D datadir
6 # %H height
7 # %h homedir
8 # %I icondir
9 # %m mime-type
10 # %n name
11 # %P port
12 # %R readyfd
13 # %r rootdir
14 # %S secret
15 # %W width
16
17 #-----------------
18 mode local
19 #-----------------
20
21 # keep for compatibility purposes
22 text/html
23         /usr/bin/afb-daemon --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
24         /usr/bin/web-runtime http://localhost:%P/%c?token=%S
25
26 application/x-executable
27         %r/%c
28
29 application/vnd.agl.url
30         /usr/bin/web-runtime %c
31
32 application/vnd.agl.service
33         /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
34
35 application/vnd.agl.native
36         /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
37         %r/%c %P %S
38
39 application/vnd.agl.qml
40         /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
41
42 application/vnd.agl.qml.hybrid
43         /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
44         /usr/bin/qt5/qmlscene %P %S -fullscreen -I %r -I %r/imports %r/%c
45
46 application/vnd.agl.html.hybrid
47         /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
48         /usr/bin/web-runtime http://localhost:%P/%c?token=%S
49
50 #-----------------
51 mode remote
52 #-----------------
53
54 text/html
55         /usr/bin/afb-daemon --mode=remote --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
56         http://%%h:%P/%c?token=%S
57