npm run build:chrome
npm run build:firefox
As Firefox requires extension to be signed, one needs to create a developer account. See here for more information. After obtaining credentials, run the following command. Replace api-key
& api-secret
with your details.
npm run build:firefox && unzip -o builds/crunchyroll-dimming-firefox.zip -d builds/crunchyroll-dimming-firefox && web-ext sign --api-key="<your user>" --api-secret="<your secret>" --source-dir=builds/crunchyroll-dimming-firefox --artifacts-dir=builds
Pull package from builds\crunchyroll-dimming-chrome.zip
into chrome://extensions/
window in developer mode.
Pull package from builds\<hash>-0.0.1.xpi
into about:addons
window.