Hello, Thanks for auditing my software on your awesome firefox ecosystem.
These are the steps for creating reproducible build on your system:
Building on macOS®, Linux™ or any POSIX compliant system is easy!
Automatic-building is supported on these machines!
Step 1. git clone https://github.com/Alex4386/turnoff-namuwiki.git
Step 2. Install nodeJS, npm, yarn on your machine.
Step 3. revert to version that I included on the add-on archive. (could be checked via production_ver.txt of the archive)
Step 4. run yarn install to install dependencies.
Step 5. run node ./firefox_workaround.js
to convert manifest.json
to match with your browser's quirks
Step 6. run yarn build-package
to get results.
Step 7. check turnoff-namuwiki.zip and compare the results!
Building on Windows® Systems are difficult than POSIX compliant systems.
Step 1. git clone https://github.com/Alex4386/turnoff-namuwiki.git
Step 2. Install nodeJS, npm, yarn on your machine.
Step 3. revert to version that I included on the add-on archive. (could be checked via production_ver.txt of the archive)
Step 4. run yarn install to install dependencies.
Step 5. run yarn build to get transpiled results.
Step 6. write your short version of your version hash into production_ver.txt on your root directory of the cloned repository.
Step 7. run node ./firefox_workaround.js
to convert manifest.json
to match with your browser's quirks
Step 8. package the entire directory EXCLUDING .git, node_modules, res/marketplace/ and .sh files
this code is transpiled with typescript and webpack
Source code available on src/
is the original typescript code and transpiled into dist/
. Please refer to webpack.config.js
for how does compilation work.