diff options
Diffstat (limited to 'src/js/apps.js')
-rw-r--r-- | src/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/apps.js b/src/js/apps.js index 877b646..c7d50a0 100644 --- a/src/js/apps.js +++ b/src/js/apps.js @@ -1,4 +1,4 @@ -import { afmMain } from 'agl-js-api'; +import { homescreen, afmMain } from 'agl-js-api'; import Mustache from 'mustache'; var configjson = require('../config.json'); @@ -40,7 +40,7 @@ function load_application_list() { export function start(node) { var appId = node.getAttribute('app-id'); - afmMain.start(appId).then(function(result) { + homescreen.showWindow(appId.split('@')[0]).then(function(result) { console.log("success: " + result); }); } |