Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5687)

Unified Diff: chrome/common/extensions/docs/packaging.html

Issue 7824048: Add info about providing the .pem file if you've previously (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/packaging.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/packaging.html
===================================================================
--- chrome/common/extensions/docs/packaging.html (revision 99365)
+++ chrome/common/extensions/docs/packaging.html (working copy)
@@ -272,19 +272,26 @@
</li>
</ol>
</li><li>
- <a href="#H2-2">Packaging at the command line</a>
+ <a href="#upload"> Uploading a previously packaged extension to the Chrome Web Store</a>
<ol>
<li style="display: none; ">
<a>h3Name</a>
</li>
</ol>
</li><li>
- <a href="#H2-3">Package format and scripts</a>
+ <a href="#H2-3">Packaging at the command line</a>
<ol>
<li style="display: none; ">
<a>h3Name</a>
</li>
</ol>
+ </li><li>
+ <a href="#H2-4">Package format and scripts</a>
+ <ol>
+ <li style="display: none; ">
+ <a>h3Name</a>
+ </li>
+ </ol>
</li>
<li style="display: none; ">
<a href="#apiReference">API reference</a>
@@ -415,8 +422,7 @@
</p>
<ul>
<li><a href="#update">Update</a> the extension</li>
-<li>Upload the extension using the
-<a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Developer Dashboard</a></li>
+<li><a href="#upload">Upload</a> the extension to the Chrome Web Store</li>
</ul>
<p>
@@ -468,9 +474,40 @@
<img src="images/update-success.gif" width="298" height="160">
-<a name="H2-2"></a><h2>Packaging at the command line</h2>
+<h2 id="upload"> Uploading a previously packaged extension to the Chrome Web Store</h2>
+
<p>
+You can use the Chrome Developer Dashboard
+to upload an extension that you've previously packaged yourself.
+However, unless you take special steps,
+the extension's ID in the Chrome Web Store
+will be different from its ID in the package you created.
+This different ID might be a problem if you've
+distributed your extension package,
+because it allows users to install multiple versions of your extension,
+each with its own local data.
+</p>
+
+<p>
+If you want to keep the extension ID the same,
+follow these steps:
+</p>
+
+<ol>
+ <li> Rename the private key that was generated
+ when you created the <code>.crx</code> file to <code>key.pem</code>. </li>
+ <li> Put <code>key.pem</code> in the top directory
+ of your extension. </li>
+ <li> Compress that directory into a ZIP file. </li>
+ <li> Upload the ZIP file using the
+ <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Developer Dashboard</a>. </li>
+</ol>
+
+
+<a name="H2-3"></a><h2>Packaging at the command line</h2>
+
+<p>
Another way to package extensions
is by invoking <code>chrome.exe</code> at the command line.
Use the <code>--pack-extension</code> flag
@@ -488,7 +525,7 @@
add <code>--no-message-box</code> to the command.
</p>
-<a name="H2-3"></a><h2>Package format and scripts</h2>
+<a name="H2-4"></a><h2>Package format and scripts</h2>
<p>
For more information on the format, as well as pointers to scripts you can use
to create <code>.crx</code> files, see <a href="crx.html">CRX Package Format</a>.
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/packaging.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698