AlyxMoon / lunar-factorio-mod-manager

A mod manager for Factorio, programmed using the Electron framework.
MIT License
6 stars 2 forks source link

Downloading mod doesn't update profiles #53

Closed AlyxMoon closed 8 years ago

AlyxMoon commented 8 years ago

We had this functionality working before, must have broken it similar to how the delete profiles method stopped working.

When a mod is downloaded, no longer updates the profiles, so it's on in any current profile's list.

Take a look at the other profile management methods while you're at it.

AlyxMoon commented 8 years ago

As clarification, the functionality of adding new mods to a profile does work. If the app is restarted, profiles are loaded correctly with the new mods attached to them. It just doesn't happen during runtime.

We didn't correctly implement the asynchronous behavior so we have a race condition that's not working in our best interests.