View Single Post
06/08/20, 05:36 PM   #4
Gandamir
Join Date: Feb 2017
Posts: 12
Originally Posted by Baertram View Post
If fcmqt uses its own included old Libraries just strip them all from the subfolders, remove any hard-coded line in the addon's txt file which was loading the included libs from subfolders (e. G. /libs/libDialog/LibDialog.lua), and add the ## DependsOn: LibDialog to the addons txt file and install the libs in your Addons folder just like addons (standalone). This way they will not use the included versions anymore but the ones from your addons folder, using the txt files of the libs properly to only load the newest version.

If any line in the addon's uses the libs with LibStub just replace this line to use the global variable of the lib directly. E. G. Replace this:

local ld=LibStub("LibDialog")

With this:

Local ld =LibDialog
Thanks Baertram, I'll give that a try soon.
  Reply With Quote