Clarify Firefox addon instructions
This commit is contained in:
parent
75160b3b80
commit
fd5647e216
@ -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).
|
||||
"
|
||||
`;
|
||||
|
||||
|
@ -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).
|
||||
`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user