Firefox plugin build

Iš Žinynas.
Jump to navigation Jump to search

Pirmiausia reikia atsisiusti unbranded versija

https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds

Developmentui reikia sudiegti nodejs paketa, macOS geriausiai tinka .pkg paketas.

cd plugin_dir
npm install
cd src&&
web-ext build
mv web-ext-artifacts/*.zip ~/Downloads

Atidarom firefox

about:config

Susirandam xpinstall.signatures.required ir nustatom kaip false.

about:addons

Screenshot 2019-12-02 at 12.11.25.png Nurodom plugino zip faila, ir irasom


Test (without build):

./node_modules/.bin/web-ext run -s src/