安装nodejs和yarn:
curl -sL https://deb.nodesource.com/setup_12.x | bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt update && sudo apt install yarn nodejs
打包PT-Plugin-Plus:
git clone https://github.com/ronggang/PT-Plugin-Plus.git
cd PT-Plugin-Plus/
yarn install
yarn build
打包dist目录,提交到firefox自托管附加组件签名。
cd dist
zip -q -r pt-plugin-plus.zip *
标签:none