Tradução em progresso.

 

Packaged extensions in Firefox are called "XPI files", which are ZIP files with a different extension.

You don't have to use the XPI extension when uploading to AMO.

Durante o desenvolvimento, sua extensão irá conter um diretório com arquivo manifest.json e outros arquivos que a extensão precisará - scripts, icones, documentos HTML e tudo mais. Você precisará zipar estes arquivo em um único para poder fazer upload para o AMO.

If you're using web-ext, use web-ext build to package your extension. Otherwise, follow the instructions below for your chosen operating system.

Tip. The ZIP file must be a ZIP of the extension's files themselves, not of the directory containing them.

Windows

  1. Open the directory containing your extension's files.
  2. Select all of the files and directories.
  3. Open the shortcut menu and click Send to then Compressed (zipped) folder.

Mac OS X

  1. Open the directory containing your extension's files.
  2. Select all of the files and directories.
  3. Open the shortcut menu and click Compress n Items.

Linux / Mac OS X Terminal

  1.  Open Terminal.
  2. Open the directory containing your extension's files,  using the command
    cd path/to/my-extension/
  3. ZIP the content of the directory, using the command
    zip -r -FS ../my-extension.zip *

Etiquetas do documento e colaboradores

Colaboradores desta página: mdnwebdocs-bot, delcantao
Última atualização por: mdnwebdocs-bot,