View Single Post
05/31/18, 07:40 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
[outdated] api to get addon file status

I'd like to see an extension to the addon manager api that allows to get the addon path relative to the addon root (in order to be able to check if the addon is loaded from a nested directory), the file paths specified in the addon manifest and their loading state.
Possible states could be "queued" before it starts loading, "loaded" afterwards and "failed" if it could not be opened. For the failed state there could also be an extra return which shows why it failed. For example because the file is missing or it could not be parsed or whatever other reasons there could be.