| OLD | NEW |
| 1 <div id="pageData-title" class="pageData">Packaging</div> | 1 <div id="pageData-title" class="pageData">Packaging</div> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 Extensions are packaged as signed zip files | 5 Extensions are packaged as signed zip files |
| 6 with the file extension "crx" | 6 with the file extension "crx" |
| 7 (for example, <code>myextension.crx</code>). | 7 (for example, <code>myextension.crx</code>). |
| 8 Each extension has its own unique key pair. | 8 Each extension has its own unique key pair. |
| 9 The public key is used as the unique identifier for the extension. | 9 The public key is used as the unique identifier for the extension. |
| 10 The private key is kept private | 10 The private key is kept private |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 <li> | 83 <li> |
| 84 Increase the version number in <code>manifest.json</code>. | 84 Increase the version number in <code>manifest.json</code>. |
| 85 </li> | 85 </li> |
| 86 | 86 |
| 87 <li> | 87 <li> |
| 88 Bring up the Extensions management page | 88 Bring up the Extensions management page |
| 89 by going to this URL: <b>chrome://extensions</b> | 89 by going to this URL: <b>chrome://extensions</b> |
| 90 </li> | 90 </li> |
| 91 | 91 |
| 92 <li> | 92 <li> |
| 93 Click the <b>Pack extension</b> button. |
| 94 A dialog appears. |
| 95 </li> |
| 96 |
| 97 <li> |
| 93 In the <b>Extension root directory</b> field, | 98 In the <b>Extension root directory</b> field, |
| 94 specify the path to the extension's folder — | 99 specify the path to the extension's folder — |
| 95 for example, <code>c:\myext</code>. | 100 for example, <code>c:\myext</code>. |
| 96 </li> | 101 </li> |
| 97 | 102 |
| 98 <li> | 103 <li> |
| 99 In the <b>Private key file</b> field, | 104 In the <b>Private key file</b> field, |
| 100 specify the location of the | 105 specify the location of the |
| 101 already generated <code>.pem</code> file for this extension — | 106 already generated <code>.pem</code> file for this extension — |
| 102 for example, <code>c:\myext.pem</code>. | 107 for example, <code>c:\myext.pem</code>. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 125 </p> | 130 </p> |
| 126 | 131 |
| 127 <pre> | 132 <pre> |
| 128 chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem | 133 chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem |
| 129 </pre> | 134 </pre> |
| 130 | 135 |
| 131 <p> | 136 <p> |
| 132 To suppress the dialog, | 137 To suppress the dialog, |
| 133 add <code>--no-message-box</code> to the command. | 138 add <code>--no-message-box</code> to the command. |
| 134 </p> | 139 </p> |
| OLD | NEW |