Closed thefrosty closed 13 years ago
I haven't tried this with a plugin within a folder.
My first thought is that it won't work out of the box the way you want it to. The reason for that is because when the class processes a download, it unzips the zip file and then extracts into the plugin folder. So in your case you would end up with something like WP_PLUGIN_FOLDER > root_folder > folder_where_your_plugin_actually_lives which I don't believe is supported by WordPress in the first place.
Anyways, you would have to modify the class so that it would work for your particular scenario. I'll consider adding this is an option for the config variables eventually though... or feel free to contribute it ;)
or of course, you could just move your plugin files into the root of the repo :)
Yeah, think I'll do just that, and leave the github markdown readme and SVN WordPress readme..
That's exactly what I've done on a production plugin which uses this class and it works great :)
In my plugin I am testing this on, I've got my root directory with a README.md with the proper format version and a folder with the plugin files in with the WordPress readme.txt. Should I move the version format in there and the update variables pointing to the subfolder?