Function to get data about mods installed in folder
Closed this issue · 6 comments
Danielv123 commented
Should either take a folder or use the folder specified when initializing. Should return an array of all the mods in that folder with their name and version.
Danacus commented
Is this a feature request, a bug or something you want be to change. I'm a little confused.
Danielv123 commented
This is a feature request. Currently you can only batch extract mod info from a savefile.
Danacus commented
I will probably add this tomorrow. You can use loadInstalledMods(), but it's probably too slow for what you want, because it reads all information about every single mod by opening the zip files. I'll add a simple function to get the name and version from every mod in a folder from the file name.
Danacus commented
I didn't do a lot of testing, but it should be working.
Danielv123 commented
Works very well, thanks :)