diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-11-07 18:40:30 +0100 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2020-02-04 20:36:30 +0100 |
commit | e54bb3ce8ee606fba0cb2ccf67d27cd41d614745 (patch) | |
tree | f4fe88616cb55840afbabb48d11cddb3ca8c55df /src | |
parent | 9cf5d57a7338a94988d1607b4cb827d28c9fbd2f (diff) |
FUNCT Launch applications using homescreen instead of afm-main
Diffstat (limited to 'src')
-rw-r--r-- | src/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/app.js b/src/js/app.js index 22fc859..603bc88 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -15,7 +15,7 @@ */ import Mustache from 'mustache'; -import { afmMain, api } from 'agl-js-api'; +import { afmMain, api, homescreen } from 'agl-js-api'; var configjson = require('../config.json'); var template; @@ -72,7 +72,7 @@ function load_application_list() { export function launch(app) { var appId = app.getAttribute('app-id'); - afmMain.start(appId).then(function(result) { + homescreen.showWindow(appId.split('@')[0]).then(function(result) { log("success: " + result); }); } |