impersonator-extension icon indicating copy to clipboard operation
impersonator-extension copied to clipboard

feat: firefox add-on compatibility

Open Barabazs opened this issue 7 months ago • 1 comments

This PR:

  • adds development scripts to run the extension in Chrome and Firefox
  • adds the browser-specific data to manifest.json for Firefox compatibility
  • adds a workflow to automatically build, sign and publish a new version of the add-on (on firefox) when creating a new GitHub release
  • adds development documentation

[!IMPORTANT]
The first version has to be published manually.

  1. yarn install
  2. yarn build
  3. Make an archive of the source code so they can review the extension if needed: git archive --output source.zip HEAD -- ":!.github"
  4. web-ext build --source-dir build, this should create a zip file under ./web-ext-artifacts.
  5. Use the previously generated file to submit the add-on in the first step as on Listing on AMO

[!NOTE] Once the add-on is published, the following secrets need to be added to the repo:

  • WEB_EXT_API_KEY
  • WEB_EXT_API_SECRET

closes #6

Barabazs avatar Jul 17 '24 15:07 Barabazs