tidev / gittio

Search & Install all Titanium Modules and Alloy Widgets on GitHub
http://gitt.io
Other
24 stars 19 forks source link

CLI: Invalid or unsupported zip format. No END header found #101

Closed manumaticx closed 9 years ago

manumaticx commented 9 years ago

Not sure if this is a bug or if this even works. I was trying to install a module by URL rather than by id. I've tried pointing it to the packaged zip file (see following command) but can't get it working...

$ gittio install -g https://github.com/manumaticx/Ti.DrawerLayout/blob/master/dist/com.tripvi.drawerlayout-android-1.3.4.zip
[ERROR] Invalid or unsupported zip format. No END header found

Is it really the zip that is broken?

Have you an idea how this could work? Can I add dependencies to my config.json that are URLs like package.json (npm)?

manumaticx commented 9 years ago

Sorry for the noise! It works. Just figured out that the github url needs the ?raw=true suffix.