Pushed merge. Got a little tricky since I ended up splitting your change into separate commits to make it easier to manage merging. (Want to setup Git, Garkin?
)
Master branch is sitting without the Promise objects - those are on a
separate branch at the moment.
So one of the main issues I was having was with settings initialization. I saw you poking around a little bit at that for handling addons that create the menu pre-init.
Is it something like this?
- Check all manifests to determine load order
- Load addons in that order, executing pre-init code
- Load all saved variables (any order?)
- Run through addon init (any order?)
Or is the init tied to the saved variables load?
- Check all manifests to determine load order
- Load addons in that order, executing pre-init code
- For each addon (order?):
- Load saved vars
- Fire addon init event for that addon