Replacer addons can be used to replace QRC resources at execution time. The addon must include all the required files in its bundle.
The JSON files are validated via JSON Schema files:
https://github.com/mozilla-mobile/mozilla-vpn-client/tree/main/scripts/ci/jsonSchemas
On this page, we want to describe how to write a replacer addon.
Replacing QML files can be hazardous! The application will break if the QMLs are broken, or the dependencies are unsatisfied.
Replacing an entire folder is even more dangerous! Image what happens if you replace the whole i18n folder with broken translation files.
i18n
The Replacer JSON files are addon JSON objects with the type "replacer" and a "replacer" property object with the following properties:
This object must have the following structure:
request
file
directory
There was an error while loading. Please reload this page.