Quantcast WoWInterface - View Single Post - Suggestion for Minion addon recognition
View Single Post
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