ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Libs folders (https://www.esoui.com/forums/showthread.php?t=9727)

Garyanych 05/11/21 06:21 AM

Libs folders
 
2 Attachment(s)
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.

votan 05/11/21 08:23 AM

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.

Baertram 05/11/21 08:31 AM

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.


All times are GMT -6. The time now is 03:48 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI