| OLD | NEW |
| 1 <h1>Packaging</h1> | 1 <h1>Packaging</h1> |
| 2 | 2 |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 This page describes how to package your extension. | 5 This page describes how to package your extension. |
| 6 As the <a href="overview.html">Overview</a> explains, | 6 As the <a href="overview">Overview</a> explains, |
| 7 extensions are packaged as signed ZIP files | 7 extensions are packaged as signed ZIP files |
| 8 with the file extension "crx"—for example, | 8 with the file extension "crx"—for example, |
| 9 <code>myextension.crx</code>. | 9 <code>myextension.crx</code>. |
| 10 </p> | 10 </p> |
| 11 | 11 |
| 12 <p> | 12 <p> |
| 13 <b>Note:</b> | 13 <b>Note:</b> |
| 14 You do not need to package your own extension. | 14 You do not need to package your own extension. |
| 15 If you publish your extension using the | 15 If you publish your extension using the |
| 16 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a>, | 16 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a>, |
| 17 then the only reason to create your own <code>.crx</code> file | 17 then the only reason to create your own <code>.crx</code> file |
| 18 would be to distribute a non-public version—for example, | 18 would be to distribute a non-public version—for example, |
| 19 to alpha testers. | 19 to alpha testers. |
| 20 You can find information on publishing extensions and apps in the | 20 You can find information on publishing extensions and apps in the |
| 21 Chrome Web Store getting started tutorial, starting at | 21 Chrome Web Store getting started tutorial, starting at |
| 22 <a href="http://code.google.com/chrome/webstore/docs/get_started_simple.html#ste
p5">Step 5: Zip up your app</a>. | 22 <a href="http://code.google.com/chrome/webstore/docs/get_started_simple#step5">S
tep 5: Zip up your app</a>. |
| 23 </p> | 23 </p> |
| 24 | 24 |
| 25 <p> | 25 <p> |
| 26 When you package an extension, | 26 When you package an extension, |
| 27 the extension is assigned a unique key pair. | 27 the extension is assigned a unique key pair. |
| 28 The extension's ID is based on a hash of the public key. | 28 The extension's ID is based on a hash of the public key. |
| 29 The private key is used to sign each version of the extension | 29 The private key is used to sign each version of the extension |
| 30 and must be secured from public access. | 30 and must be secured from public access. |
| 31 Be careful not to include your private key within | 31 Be careful not to include your private key within |
| 32 your extensions! | 32 your extensions! |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 For example: | 179 For example: |
| 180 </p> | 180 </p> |
| 181 | 181 |
| 182 <pre> | 182 <pre> |
| 183 chrome.exe --pack-extension=C:\myext --pack-extension-key=C:\myext.pem | 183 chrome.exe --pack-extension=C:\myext --pack-extension-key=C:\myext.pem |
| 184 </pre> | 184 </pre> |
| 185 | 185 |
| 186 <h2 id="format">Package format and scripts</h2> | 186 <h2 id="format">Package format and scripts</h2> |
| 187 <p> | 187 <p> |
| 188 For more information on the format, as well as pointers to scripts you can use | 188 For more information on the format, as well as pointers to scripts you can use |
| 189 to create <code>.crx</code> files, see <a href="crx.html">CRX Package Format</a>
. | 189 to create <code>.crx</code> files, see <a href="crx">CRX Package Format</a>. |
| 190 </p> | 190 </p> |
| OLD | NEW |