update README - add instructions for Linux

These instructions are valid for a lot of Linux distros, and not just limited to Raspberry Pi.
This commit is contained in:
Archisman Panigrahi 2021-02-07 12:20:18 +05:30 committed by GitHub
parent 9ebd4faab3
commit aa569bee4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,13 +76,16 @@ Now, change `executablePath` to reflect the path to your browser and profile (i.
```typescript
executablePath: 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe',
```
In Linux for Chromium,
```typescript
executablePath: '/usr/bin/chromium-browser',
```
Depending on your distro, it may also be `/usr/bin/chromium`. You will have to change it appropriately for Google Chrome.
Note that for Mac/Linux the path will look a little different but no other changes are necessary.
Note that for Mac the path may look a little different but no other changes are necessary.
You need to rebuild (`npm run build`) every time you change this configuration.
If you're trying to run this on a Raspberry Pi you should see [this issue](https://github.com/snobu/destreamer/issues/311).
## How to build
To build destreamer clone this repository, install dependencies and run the build script -