Thread Tools Display Modes
05/11/21, 06:21 AM   #1
Garyanych
Join Date: May 2021
Posts: 1
Libs folders

Hi there.
A young and helpless Khajiit wants to ask.
There are folders with libraries in the root folder with adonns. See the picture - the Khajiit did.

Warning: Spoiler

And there is a similar library in the folder with the addon itself.
See another picture - the Khajiit did.

Warning: Spoiler


Kajit knows that there must be two Moons in the sky of Nirn.
But the Khajiit does not know if the library folders should be duplicated.

Warm sand to you, and bright Мoons.
Attached Thumbnails
Click image for larger version

Name:	Untitled-1.jpg
Views:	454
Size:	34.2 KB
ID:	1387  Click image for larger version

Name:	Untitled-2.jpg
Views:	380
Size:	11.1 KB
ID:	1388  
  Reply With Quote
05/11/21, 08:23 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Short answer:
For each lib in root, delete those in sub-folders to be sure.

Long answer:
There are 3 ways to use libs:
  1. Embedded. The lua files are loaded as part of the main addon. Out-dated!
  2. Bundled. The libs are in sub-folders, but have their own txt file, with the same name. Versioning is done by the ESO client.
  3. Stand-alone. Good for "Minion", to keep them up-to-date automatically.

The "embedded" way is the one which can break everything. The ESO client can not prevent loading duplicates, Minion does not even know they are there.
  Reply With Quote
05/11/21, 08:31 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
If you are technically interested into how the versioning, that Votan named above, works I recommand reading this WIKI thread about libraries/dependencies:
https://wiki.esoui.com/Libraries

Especially below the headline "https://wiki.esoui.com/Libraries#Library_versioning"

And below the headline "6 Providing libraries (standalone / bundled with addon, but how?)" you'll find the explanation why embedded libraries in subfolders of addons, not providing their own library.txt file, will most likely break other addons and thus are not welcome any longer.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Libs folders

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off