summaryrefslogtreecommitdiffstats
path: root/src/js/apps.js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-10-14 22:53:54 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commit28c5748eaa68759c9f88e81b120c2e514a8fe1a7 (patch)
tree135d3955575731b16df874969475a360c1176ae4 /src/js/apps.js
parent8550205a77b07234c356ea9d0fa3c486fb0e042a (diff)
FUNCT Launch configured app on startup
Diffstat (limited to 'src/js/apps.js')
-rw-r--r--src/js/apps.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/apps.js b/src/js/apps.js
index b9829ad..877b646 100644
--- a/src/js/apps.js
+++ b/src/js/apps.js
@@ -26,6 +26,12 @@ function load_application_list() {
name: internalApp.name,
icon: app.icon
});
+
+ if( app.id === configjson.launch ) {
+ afmMain.start(internalApp.id).then(function(result) {
+ console.log("success: " + result);
+ });
+ }
}
});