From e54bb3ce8ee606fba0cb2ccf67d27cd41d614745 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Thu, 7 Nov 2019 18:40:30 +0100 Subject: FUNCT Launch applications using homescreen instead of afm-main --- src/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); }); } -- cgit 1.2.3-korg