How can i pack the extension manually

1,464 views
Skip to first unread message

oDx

unread,
Jan 13, 2011, 7:26:23 AM1/13/11
to Chromium-extensions
Hi all,
Actually I have been developing an application which can create and
pack themes. I dont want to use chrome for packing it. So if anyone
knows the algorithm or how is it done, please let me know,. It will be
very helpful.

Also if this is not the right place to ask this, pls let me know which
is the right place.

Thanks in Advance

--
obscurant1st

oDx

unread,
Jan 13, 2011, 7:29:24 AM1/13/11
to Chromium-extensions
And btw fyi, I got this link
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/tools/extensions/chromium_extension.py?revision=14872&content-type=text/plain&pathrev=14872

But i think its outdated., as the themes packed by this script shows
bad version error while installing theme! :(

PhistucK

unread,
Jan 13, 2011, 8:24:19 AM1/13/11
to oDx, Chromium-extensions
This is kind of hidden, but it officially exists.
Extension Documentation-->Hosting-->Packaging-->CRX Package Format.
Besides the specifications for the format, there is a Bash script that will create it and a link to a Ruby script that will create it.

Enjoy. :)

PhistucK




--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


oDx

unread,
Jan 13, 2011, 8:41:48 AM1/13/11
to Chromium-extensions
Ok, thanks for that link.
but i have one doubt, why is the PEM file needed.
Cant we make that also?
Or we should make it from google chrome atleast once?

On Jan 13, 6:24 pm, PhistucK <phist...@gmail.com> wrote:
> This is kind of hidden, but it officially exists.
> Extension Documentation-->Hosting-->Packaging-->CRX Package
> Format<http://code.google.com/chrome/extensions/crx.html>
> .
> Besides the specifications for the format, there is a Bash script that will
> create it and a link to a Ruby script that will create it.
>
> Enjoy. :)
>
> ☆*PhistucK*
>
> On Thu, Jan 13, 2011 at 14:26, oDx <platodre...@gmail.com> wrote:
> > Hi all,
> > Actually I have been developing an application which can create and
> > pack themes. I dont want to use chrome for packing it. So if anyone
> > knows the algorithm or how is it done, please let me know,. It will be
> > very helpful.
>
> > Also if this is not the right place to ask this, pls let me know which
> > is the right place.
>
> > Thanks in Advance
>
> > --
> > obscurant1st
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.
> > To post to this group, send email to chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to
> > chromium-extensions+unsubscr...@chromium.org<chromium-extensions%2Bunsubscr...@chromium.org>
> > .

PhistucK

unread,
Jan 13, 2011, 8:54:47 AM1/13/11
to oDx, Chromium-extensions
The PEM file is the private key file. It makes your extension unique, so others could not steal its ID and hack it somehow (and for automatic update purposes and as a general unique identifier).
If you plan to create the same extension all of the time, you can use the PEM file that Google Chrome created, yes.
If you plan to create multiple extensions, you will have to generate the PEM file for every one of them separately, by yourself, or using Google Chrome\Chromium.

PhistucK



To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.

oDx

unread,
Jan 13, 2011, 9:40:43 AM1/13/11
to Chromium-extensions
My application is for creating themes only. all the time it will
create themes. But from different computers. So can I use one
single .pem file for all the themes i will be creating from my
application. one pem file is ok if I am creating the themes from
different computers?

and one more thing, Can i create this PEM file without using google
chrome and use it for packing chrome theme?

On Jan 13, 6:54 pm, PhistucK <phist...@gmail.com> wrote:
> The PEM file is the private key file. It makes your extension unique, so
> others could not steal its ID and hack it somehow (and for automatic update
> purposes and as a general unique identifier).
> If you plan to create the same extension all of the time, you can use the
> PEM file that Google Chrome created, yes.
> If you plan to create multiple extensions, you will have to generate the PEM
> file for every one of them separately, by yourself, or using Google
> Chrome\Chromium.
>
> ☆*PhistucK*
> > <chromium-extensions%2Bunsubscr...@chromium.org<chromium-extensions%252Bunsubscr...@chromium.org>

PhistucK

unread,
Jan 13, 2011, 10:47:40 AM1/13/11
to oDx, Chromium-extensions
1. The PEM file is per extension\theme, you cannot use the same PEM file for multiple themes\extensions.
2. The scripts on that page are creating the PEM file as well, as far as I know.


PhistucK



To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
Reply all
Reply to author
Forward
0 new messages