ioBroker.js-controller
ioBroker.js-controller copied to clipboard
Allow to run custom scripts on installation
Allow to run such commands like here https://forum.iobroker.net/post/429882 on install ... provide a structure like for the package manager (or maybe integrate it there somehow?) which is os specific to e.g. only run on linux (this is not that easy possible with npm scripts)
So something like a "scripts" field in io-pack JSON which will be executed by controller?
With the install
emitter we are a step closer, as devs can execute individual code on installation, maybe this won't be enough for such use cases.
hhmm ... honestly ... maybe this is in general the better idea because sometimes it is not "just calling stuff" but also logic ...
We could proof in with such an adapter
As discussed in Telegram: We use the install trigger, BUT we should also change it so that the install script do not need to be added as npm post-install script (still can), but we also have a io-package flag and we take care of this start when installing. So we execute and so have a better control over it
As discussed in Telegram: We use the install trigger, BUT we should also change it so that the install script do not need to be added as npm post-install script (still can), but we also have a io-package flag and we take care of this start when installing. So we execute and so have a better control over it
@Apollon77 Ah dang, do you still know what this is about? Anything left to do?