Chercher sans se lasser, croire avoir trouver et in fine démonter les ficelles de la société Google en les utilisant. Blog aussi sur Web 2.0, interoperabilité, Sciences & langages & neurosciences). En 1943, Valentin, le chef de la Légion des combattants nommé par Pétain, rejoint Londres et fait diffuser un message d'autocritique et dénonce la faute toujours présente: "On ne reconstruit pas sa maison pendant qu’elle flambe!". SAPERE AUDE!

dimanche 20 septembre 2009

Packaging crx creating plug-in google chrome

Packaging: "Extensions are packaged as signed zip files with the file extension 'crx' (for example, myextension.crx). Each extension has its own unique key pair. The public key is used as the unique identifier for the extension. The private key is kept private and used to sign each version of the extension.
Creating a package

To package an extension:

1. Bring up the Extensions management page by going to this URL:

chrome://extensions

2. Click the Pack extension button. A dialog appears.
3. In the Extension root directory field, specify the path to the extension's folder — for example, c:\myext. (Ignore the other field; you don't specify a private key file the first time you package a particular extension.)
4. Click OK. The packager creates two files: a .crx file, which is the actual extension that can be installed, and a .pem file, which contains the private key.

Do not lose the private key! Keep the .pem file secret and in a safe place. You'll need it later if you want to do any of the following:

* Update the extension
* Import the extension into the extensions gallery, once the gallery becomes available

If the extension is successfully packaged, you'll see a dialog like this that tells you where to find the .crx and .pem files:

Updating a package

To create an updated version of your extension:

1. Increase the version number in manifest.json.
2. Bring up the Extensions management page by going to this URL: chrome://extensions
3. Click the Pack extension button. A dialog appears.
4. In the Extension root directory field, specify the path to the extension's folder — for example, c:\myext.
5. In the Private key file field, specify the location of the already generated .pem file for this extension — for example, c:\myext.pem.
6. Click OK.

If the updated extension is successfully packaged, you'll see a dialog like this:
Packaging at the command line

Another way to package extensions is by invoking chrome.exe at the command line. Use the --pack-extension flag to specify the location of the extension's folder. Use --pack-extension-key to specify the location of the extension's private key file. For example:

chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem

To suppress the dialog, add --no-message-box to the command."

Aucun commentaire:

Enregistrer un commentaire