Build native packages with Firefox

This commit is contained in:
ngosang
2021-10-18 11:13:49 +02:00
parent 2408a75a70
commit a841d67745
5 changed files with 47 additions and 22 deletions

View File

@@ -68,8 +68,9 @@ This is the recommended way for Windows users.
This is the recommended way for macOS users and for developers.
* Install [NodeJS](https://nodejs.org/).
* Clone this repository and open a shell in that path.
* Run `PUPPETEER_PRODUCT=firefox npm install` command to install FlareSolverr dependencies.
* Run `PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js` to install Firefox.
* Run `export PUPPETEER_PRODUCT=firefox` (Linux/macOS) or `set PUPPETEER_PRODUCT=firefox` (Windows).
* Run `npm install` command to install FlareSolverr dependencies.
* Run `node node_modules/puppeteer/install.js` to install Firefox.
* Run `npm run build` command to compile TypeScript code.
* Run `npm start` command to start FlareSolverr.