Thread Tools Display Modes
09-15-19, 09:10 AM   #1
yarko
A Murloc Raider
 
yarko's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 4
Suggestion for Minion addon recognition

Hello, Wowinterface! Love the site and Minion.

I have a suggestion. Currently, Minion seems to recognize specific addons in the addons directory by folder name, which was fine when there was only one version of WoW. Could you change Minion to recognize addons by folder name and by version number in the toc file? This would be convenient so that devs could produce two different versions of an addon (two separate zip files and two wowinterface addon entries) using all the same file and directory names, with only toc files differing on the interface version line, and Minion would recognize and manage them as separate addons. As it stands, I have to use different folder names and toc file names AND possibly XML files for image file references, for example, when I want to produce the same addon for both versions. Being able to use the same folder name for an addon in both versions of WoW would make things much simpler!

Thank you!
  Reply With Quote
09-15-19, 01:37 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Unless you're using symlinks, Classic and Modern WoW already use separate folders. If you're talking about supporting private servers, there's no way that's going to happen as it's against Blizzard ToS and site rules in the first place.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
09-16-19, 06:46 AM   #3
yarko
A Murloc Raider
 
yarko's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 4
I'm not talking about private servers. I'm talking about using the same folder name for the addon, such as "BobMods" in the two different addons folders under retail an classic and Minion recognizing them as separate addon entries, such as "Bobmods" and "BobMods Classic".
  Reply With Quote
09-16-19, 08:16 AM   #4
yarko
A Murloc Raider
 
yarko's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 4
Let me explain the problem better using addons that actually exist in the wowinterface database now.

Currently there are two separate addons called "OmniCC" and "OmniCC Classic". The first is for retail, the other for classic, the key difference between them, of course, being the different interface numbers used in their toc files. In Minion, I have both retail and classic set up for addon management (after fixing the bogus addon folder location Minion sets up for classic by default).

Now, I go into Minion and install OmniCC into retail, and I install OmniCC Classic into classic. This all works fine. The addons run correctly in game. (I DO have to set to run outdated addons in retail, because OmniCC for retail hasn't been updated recently, but it still works.)

Now, I close Minion, and reopen it. Here is where the problem shows up. If I view my installed addons for retail, it shows that I am running OmniCC Classic in retail, and that it needs an update! Why is it showing that I am running OmniCC Classic in retail? After some examination, I determined that Minion is recognizing addons simply by the name of the folder they are installed into. Since both these separate addons use the same folder name, "OmniCC", Minion is getting confused. It is seeing the retail version as the classic version. If Minion checked both the folder name AND the toc interface number and used those as the unigue "key" to recognize an addon, this problem would go away.
  Reply With Quote
09-16-19, 02:44 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
As I mentioned before, the two editions of WoW are already in separate folders. Classic being _classic_\Interface\AddOns and Modern being _retail_\Interface\AddOns. If you're talking about the hosting side, this is being worked on.

Originally Posted by Dolby View Post
We are working on a way for authors to provide 2 files for download if they wish (being built to provide for the possibility of even more release types). We like the option and flexibility of allowing either 2 files on one page or having seperate pages for each like it is now.

If you use the API to upload you can actually upload a classic file to your current project. Just do a GET on the update endpoint https://api.wowinterface.com/addons/update and you'll see the new fields at the bottom for classic that you can use in your POST.

This is very early stages so there are some features missing and one big one is that the files won't show in Minion just yet however I'm working on that along with a way to upload a classic file via the webui too. Also there is no visual indication that the classic file you uploaded via the api is pending in the moderation queue.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
09-17-19, 01:44 PM   #6
yarko
A Murloc Raider
 
yarko's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 4
Ah, thanks! Good to know the issue is being worked on!
  Reply With Quote

WoWInterface » Site Forums » Minion » Suggestion for Minion addon recognition

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