Thread Tools Display Modes
04/19/14, 07:04 AM   #1
Visur
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 6
Dependency between add-on

Hello,

Is that possible to scan the field ## DependsOn in the .txt of an add-on and install all the dependency directly with minion ?

Thanks
Visur
  Reply With Quote
04/19/14, 01:42 PM   #2
Dolby
Every day I'm shuffling
 
Dolby's Avatar
Premium Member
WoWInterface Admin
Join Date: Feb 2004
Posts: 1,276
That is a planned feature for Minion. It's not able to do that yet but we want it to.
  Reply With Quote
04/27/19, 09:57 PM   #3
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 50
And while we're processing ## DependsOn: and ## OptionalDependsOn: directives, would it be possible to make a list of add-ons to include based on the directory names in the ## DependsOn: directive and to delete/remove or ignore all files in any embedded directories whose names match a directory name in the ## DependsOn: or ##OptionalDependsOn: directive lists?

This enhancement would help prevent the game from trying to start at least a dozen or more extraneous, embedded, out of date, duplicate LibStub and LibAddonMenu-2.0 add-ons for every active player in the game.

It would be nice too, if Minion could check the .lua file names too in the load commands in the manifest file text areas for embedded library file names to prevent them from being loaded under the wrong AddOnVersion: directive number.

I would be happy to help with any project like this to enhance and simplify the add-on loading process.
  Reply With Quote
04/28/19, 01:41 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Aren't libraries embedded in sub folders and loaded per base addon's txt file leading to error if you simply delete the subfolders, and the game tries to load entries from the txt file then?

Last edited by Baertram : 04/28/19 at 11:24 AM.
  Reply With Quote
05/01/19, 06:20 AM   #5
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by Baertram View Post
Aren't libraries embedded in sub folders and loaded per base addon's txt file leading to error if you simply delete the subfolders, and the game tries to load entries from the txt file then?
No, the client silently ignores lines in manifest that don't refer to existing files.
  Reply With Quote

ESOUI » Site Forums » Minion » Dependency between add-on

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