The process happens in 3 steps:
Step 1: Download Chrome Extension
This step downloads the current version of the Chrome Extension.
Step 2: Convert Chrome Extension to Firefox AddOn
This step contains the main logic for converting the Chrome Extension to the Firefox AddOn.
- Change the format of options in the manifest.json to the format required by Firefox.
- Map the
chromevariable to the
browservariable in Firefox.
Step 3: Publish the Firefox AddOn
This step checks wether the current version of the AddOn has already published to Mozilla. If not it uploads the new version.