Windowsでのビルド方法 - readcrx-2/read.crx-2 GitHub Wiki
ビルド環境
- nodejs 7.6~ (require npm)
- clamav
事前準備
- nodejs, clamavはインストール済みでパスが通っているという想定です。
flashclam
(setx read.crx-2-pem-path {read.crx 2(Chrome)の秘密鍵のパス}) #半角スペースにすると、秘密鍵なしでパックします
(setx read.crx-2-api-cre {read.crx 2(Firefox)の秘密鍵のパス})
# ソースの取得
git clone git://github.com/readcrx-2/read.crx-2.git
cd read.crx-2
# 依存関係の解決
npm install
# ビルド
npm run build:chrome #Chrome版
npm run build:firefox #Firefox版
- 以上の手順で、
read.crx-2/debug/chrome
またはread.crx-2/debug/firefox
にビルド済みのコードができるので、それをGoogle Chrome/Mozilla Firefoxのパッケージ化されていない拡張機能を読み込む...より選択してください。