Thread: Update 5.0
View Single Post
04/24/19, 06:17 PM   #14
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 50
Originally Posted by Drakanwulf View Post
I think we need a manifest file directive to identify library and/or support add-ons instead of using the "Lib" prefix in the add-on's name because, whenever I see a "Lib" prefix, I immediately think of add-ons that use the older LibStub versioning controls rather than the game's newer AddOnVersion directive versioning controls.
Once again, I am wrong and must eat humble pie. The API release notes for 5.0 include a new directive named, IsLibrary: whose values are "true" (in the example) and (I am guessing here) "false". According the the 5.0 API documentation text file, the GetAddonInfo() API function has been enhanced for API Version 100027 to return a boolean value for the IsLibrary directive which is why I am guessing that "false" is also a valid value.

Hope this helps, and I apologize again for typing spam before reading the documentation.
  Reply With Quote