Quantcast
WoWInterface - View Single Post - When uploading a addon what about the files under the folders?
View Single Post
09-07-15, 12:58 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If you're uploading an addon, your ZIP file should only contain the individual addon's folder. For example, if you're uploading an addon named NyanCat, that's normally located here:

C:\Games\World of Warcraft\Interface\AddOns\NyanCat

... then your ZIP file should only contain the "NyanCat" folder, not the whole Interface\AddOns tree. Just right-click on the NyanCat addon folder and select "Add to ZIP" (or the equivalent depending on your OS and ZIP program).

If your addon's ZIP file contains extra layers of folders, it will be rejected on upload, since it won't work with automatic addon updaters like Minion or the Curse Client, and can be confusing to users who download it by hand.

The only time you would include the Interface and WTF folders is if you were packaging your whole UI to share as a compilation. In that case, refer to the guide Vis linked.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote