Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running code at boot time #163

Closed
gfwilliams opened this issue Mar 30, 2020 · 1 comment
Closed

Running code at boot time #163

gfwilliams opened this issue Mar 30, 2020 · 1 comment

Comments

@gfwilliams
Copy link
Member

@gfwilliams gfwilliams commented Mar 30, 2020

Right now you have 2 options:

  • Add .boot/1/2/3 (boot0 already used) which runs ant every boot
  • Add myfile.wid.js which is loaded whenever an app runs that uses widgets

But using .bootX can't be done for apps, because 2 apps using .boot1 would conflict.

So maybe we should have myfile.boot.js which is run at startup by the bootloader?

@DerGuteWolf
Copy link
Contributor

@DerGuteWolf DerGuteWolf commented Mar 30, 2020

Then you could also move the alarm specific stuff from boot0 to alarm.boot.js...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants