From aa569bee4dce4081ecaee0dcb99079e2552d5d0d Mon Sep 17 00:00:00 2001 From: Archisman Panigrahi Date: Sun, 7 Feb 2021 12:20:18 +0530 Subject: [PATCH] update README - add instructions for Linux These instructions are valid for a lot of Linux distros, and not just limited to Raspberry Pi. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e5ff081..48b0322 100644 --- a/README.md +++ b/README.md @@ -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 -