Feature/mod compatibility#94
Conversation
…feature/mod-compatibility
|
Nice! some useful features there. I tested out your branch but I'm running into an error trying to download a mod in the UI. It looks like the downloads completes but then I get an index out of range error, let me know if you want any other details. |
|
It's not possible for me to reproduce this error. To test further, send me more informations.
Or did you forget to recompile the UI again? |
|
It occurs when I search for 'rso-mod', then I select the version and click download. After the download the UI shows an error It looks like it could be there is an index error when trying to list the contents of the mod directory. |
|
ok, you need to rebuild the ui ( |
|
Yes I rebuilt the UI with the latest code. I used |
|
ok, the problem is definitly caused by the |
|
ok, i found the error: The Edit: |
|
Ah nice find. I'm suprised rso-mod has an invalid info.json, considering it's the most popular mod on the Factorio website I guess they aren't autogenerated. It might be good to rename the mod-id field in the UI to 'mod name'. I thought you needed to supply a numeric ID on the form at first. |
|
ok, i fixed it, by searching for the base mod and if its not there, using the factorioVersion field :) |
|
Nice works for me now. This looks great thanks for the contribution! |
added checks for mod compatibility: