Skip to content

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のパッケージ化されていない拡張機能を読み込む...より選択してください。