forked from awef/read.crx-2
-
Notifications
You must be signed in to change notification settings - Fork 8
Windowsでのビルド方法
S edited this page Sep 19, 2018
·
12 revisions
- 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)の秘密鍵のパス})
- Build
# ソースの取得
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のパッケージ化されていない拡張機能を読み込む...より選択してください。