afm-launch: begins integration of modes
[src/app-framework-main.git] / conf / afm-launch.conf
index a572c88..92ede4d 100644 (file)
@@ -14,6 +14,8 @@
 # %H height
 # %% %
 
+mode local
+
 text/html
        /usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
        /usr/bin/web-runtime http://localhost:%P/%c?token=%S
@@ -24,3 +26,9 @@ 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 --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+       http://%%h:%P/%c?token=%S
+