Set roothttp option for html app
[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 text/html
22         /usr/bin/afb-daemon --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=. --token=%S --sessiondir=%D/.afb-daemon
23         /usr/bin/web-runtime http://localhost:%P/%c?token=%S
24
25 application/x-executable
26         %r/%c
27
28 application/vnd.agl.url
29         /usr/bin/web-runtime %c
30
31 application/vnd.agl.service
32         /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/%c --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
33
34 application/vnd.agl.native
35         /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
36         %r/%c %P %S
37
38 text/vnd.qt.qml
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 --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 --roothttp=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 --roothttp=. --token=%S --sessiondir=%D/.afb-daemon
56         http://%%h:%P/%c?token=%S
57