View Single Post
02/17/19, 04:53 PM   #1
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
Show ESOUI: Add-on auto packer in the browser

So you just finished your add-on? That's great! Now to actually have it distributed you still have a small, and sometimes delicate, but nonetheless important procedure before you: to pack it. You know, create a nice ZIP package that's more easily handled, and can be uploaded to the site and downloaded by others. But you can't just ZIP the directory you were working on, since it may contain a .git directory, a .bat script, or even another ZIP you forgot in there. You have to clean it first. Then you have to make sure you zipped the folder and not just the files otherwise it won't play nice with Minion. Also what's the version you're packing again? Cause you know all the cool kids append it to the package file name, like AddOn-5.0.0.zip, so you gotta do it too. Soon you realize there's so much you feel like you need to write it down, make a checklist, or rather a script to automate the process.

Well allow me to make it easier on you: https://v8505xzqj3.codesandbox.io/ (temporary address)

TL;DR Click the file picker, select the add-on directory, make sure anything you don't want to include is listed on the text box, press Pack, and done! You now have a wonderful looking ZIP file to be downloaded at your most convenient time. Actually you'll want to do it now cause the link only works for that session.

Eventually I'll add extra features such as manifest validation and confirmation, i.e. you sure you want to publish version x.x.x, APIVersion is outdated, etc. even dependency resolution if I'm feeling crazy. Leave your feedback here and I'll see what I can do.

Last edited by haggen : 02/17/19 at 07:43 PM.
  Reply With Quote