addApp

adds a new app

void addApp(object app);
appobjectan app object

Example

desktop.addApp({
    name: "App 1",
    icon: "https://some.com/image.png",
    launch: () => ({ init: () => ({ template: "My app" }) }),
});

Наверх