mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-10 18:36:17 +00:00
Update Nix setup instructions in README
Reorganize Nix setup instructions for clarity.
This commit is contained in:
17
README.md
17
README.md
@@ -83,15 +83,18 @@ npm run start
|
|||||||
## Nix Setup
|
## Nix Setup
|
||||||
|
|
||||||
If using Nix:
|
If using Nix:
|
||||||
```bash
|
|
||||||
./run.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
The script will:
|
1. Run the pre-build step first:
|
||||||
- Run `npm run pre-build` to install dependencies and Chromium
|
```bash
|
||||||
- Then start the script headlessly using `xvfb-run`
|
npm run pre-build
|
||||||
|
```
|
||||||
|
|
||||||
---
|
2. Then start the script:
|
||||||
|
```bash
|
||||||
|
./run.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
This will launch the script headlessly using `xvfb-run`.
|
||||||
|
|
||||||
## Docker Setup
|
## Docker Setup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user