Noitidart / XPICompiler

ff-addon: DevTool. Pick a directory with XPI source files, it zips them up and makes it XPI then drags it into FF.
https://addons.mozilla.org/en-US/firefox/addon/xpicompiler/?src=github
3 stars 2 forks source link

[enhancement] detect empty top level directory and go to sub-directory #2

Open L-a-n-g-o-l-i-e-r-s opened 8 years ago

L-a-n-g-o-l-i-e-r-s commented 8 years ago

Hi there,

I don't know about anyone else, but sometimes I forget to merge the extracted file folders from extensions github master zips, so the extensions end up listed as corrupt when compiled and installed. This is because the top level directory is empty and the sub folder directory has the goods.

You'd think I'd have learned the first two times but I keep doing it. In any case, just a proposal, I hope that the title is an accurate description.

Thanks!

Noitidart commented 8 years ago

This is an excellent idea. I also learned how to make an xpi out of sdk files. I badly want to revamp XPICompiler. I want to make it:

Then I want to also revmap the Github Extension Installer addon with the same stuff. Just wish I had the time but noooo gotta work to survive! We need to find some super rich Venture Capitalist and see if he is willing to support non-profit addon dev team haha.

But I promise I'll get to this soon as I rely on XPICompiler and GitHub Extension Installer.

L-a-n-g-o-l-i-e-r-s commented 8 years ago

Oh interesting, I didn't realize you were maintaining the github extension installer. I've got one question about that there, what do you do when an extension has no install.rdf?

I'm about to test unpacking an older version of Decentraleyes with a few edits to the install.rdf then popping it in the XPICompiler oven to see what comes out.

Also, I fully understand, no pressure. My intent was just to toss some stuff out there. I don't know if there's anything you can do now, but I feel that perhaps a space between XPI and Compiler could help to make the extension more search friendly on the extensions site. (I don't know what I'm talking about but I know I somehow missed it since 2014 up until Feb of 2016 and I was LOOKING for this very thing.)