Closed aherreraGH closed 6 years ago
I've updated https://manual.os-js.org/v3/tutorial/application/ with the now named singleton
property that you can set in your metadata.
I can add support for autostart
as well.
Corrected a typo. Ops!
From Gitter:
In your
src/client/index.js
file: osjs.on('osjs/core:started', () => osjs.run('MyApplication'));
This will autostart any application whenever OS.js has started.
Oh, sorry. It's osjs.launch()
not .run()
:sweat_smile:
I've published a new version of @osjs/client
that adds support for the autostart
metadata attribute.
Documentation has been updated as well.
Please note, for this update, you have to update @osjs/panels
as well.
Thank you, works well!
In metadata.json I have:
"singular": true, "autostart": true,
The package/app is not starting up when launching the server. I think there was a setting for turning of resizing of the window, can't seem to find that either, I did see win.setSize() functions though - maybe I looked in the wrong part of the new docs?