diff --git a/cli/packages/themer-firefox-addon/lib/__snapshots__/index.spec.js.snap b/cli/packages/themer-firefox-addon/lib/__snapshots__/index.spec.js.snap index 33084ef..6a80582 100644 --- a/cli/packages/themer-firefox-addon/lib/__snapshots__/index.spec.js.snap +++ b/cli/packages/themer-firefox-addon/lib/__snapshots__/index.spec.js.snap @@ -2,9 +2,15 @@ exports[`Firefox theme generator should provide installation instructions 1`] = ` " -1. npm i -g web-ext -2. web-ext run -s (\`Themer Dark\` or \`Themer Light\`). -3. publish it at https://addons.mozilla.org/en-US/developers/addon/submit/distribution +To use the generated extension package, the code will need to be packaged up and signed by Mozilla. + +To package the code in preparation for submission, the \`web-ext\` tool can be used: + + npx web-ext build --source-dir 'Themer Dark' # or 'Themer Light' + +Then the package can be submitted to Mozilla for review in the [Add-on Developer Hub](https://addons.mozilla.org/en-US/developers/addon/submit/distribution). + +To theme Firefox without the need to create a developer account and go through the extension review process, see themer's integration with [Firefox Color](https://color.firefox.com). " `; diff --git a/cli/packages/themer-firefox-addon/lib/index.js b/cli/packages/themer-firefox-addon/lib/index.js index fbcc06c..65a711b 100644 --- a/cli/packages/themer-firefox-addon/lib/index.js +++ b/cli/packages/themer-firefox-addon/lib/index.js @@ -76,9 +76,15 @@ const render = colors => { const renderInstructions = paths => { const directories = new Set(paths.map(path.dirname)); return ` -1. npm i -g web-ext -2. web-ext run -s (${[...directories].map(dir => `\`${dir}\``).join(' or ')}). -3. publish it at https://addons.mozilla.org/en-US/developers/addon/submit/distribution +To use the generated extension package, the code will need to be packaged up and signed by Mozilla. + +To package the code in preparation for submission, the \`web-ext\` tool can be used: + + npx web-ext build --source-dir ${[...directories].map(dir => `'${dir}'`).join(' # or ')} + +Then the package can be submitted to Mozilla for review in the [Add-on Developer Hub](https://addons.mozilla.org/en-US/developers/addon/submit/distribution). + +To theme Firefox without the need to create a developer account and go through the extension review process, see themer's integration with [Firefox Color](https://color.firefox.com). `; }