@wangrongding , related to issue https://github.com/wangrongding/wechat-bot/issues/54. I want to set the same environment variable "CHROME_BIN" as in "puppet", we can pass the chrome bin path dynamically without changing the code.
Example:
export CHROME_BIN="/usr/bin/chromium"
# export CHROME_BIN="./node_module/puppeteer/xxxx/.../chromium-linux/chromium"
npm run dev
@wangrongding , related to issue https://github.com/wangrongding/wechat-bot/issues/54. I want to set the same environment variable "CHROME_BIN" as in "puppet", we can pass the chrome bin path dynamically without changing the code.
Example:
How do you think?