View Single Post
11/03/20, 08:58 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
In lua files:
Just replace local LAM = LibStub("LibAddonMenu-2.0") with
Lua Code:
  1. local LAM = LibAddonMenu2

In the txt file:
Remove all hardcoded lines like /libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua
and
/libs/LibAddonMenu-2.0/controls/...

And add or change exsiitng entries with ## OptionalDependsOn or ## DependsOn: LibAddonMenu-2.0 to:
Code:
##DependsOn: LibAddonMenu-2.0>=31
And delete all ##DependsOn or OptionalDependsOn: LibStub

If it's in the same row as other libraries as LibAddonMenu-2.0 just delete the LibStub text in that row!


That's it.
  Reply With Quote