SpikeHD / AmazonMonitor

Amazon price checker, item monitor and stock monitor, all shoved into a Discord bot
GNU General Public License v3.0
225 stars 37 forks source link

Raspberry Pi: Specify Custom Chromium Install #44

Closed TheNewJavaman closed 3 years ago

TheNewJavaman commented 3 years ago

I'll add this to the readme and submit a PR. Just writing this issue as a reminder for myself.

On a Raspberry Pi, the chrome-linux install is messed up. Not sure who to blame there, but it certainly isn't this repo's fault. To fix this, run sudo apt-get install chromium-browser and then edit common/util.js and change

browser = await pup.launch()

to

browser = await pup.launch({                                                                                                                                                  
  executablePath: '/usr/bin/chromium-browser'                                                                                                                               
})
SpikeHD commented 3 years ago

Ooh thanks for this. I've actually been planning to do a rewrite of the README anyways so I would wait until I get that out fairly soon before submitting a PR.

SpikeHD commented 3 years ago

Added in the FAQ