deno-puppeteer
deno-puppeteer copied to clipboard
Download ARM Chromium builds on M1 Mac
On a M1 Mac the install script currently downloads a Intel (x86_64) build of chromium while there are arm builds available nowadays.
It would be nice if the install script downloaded the ARM version when using an M1 Mac.
Update: forget it, I search the BrowserFetcher.ts,it is old or has been modified, the variable PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM does not exist
@mjarkk I found this PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM env variable in the v14 doc

Try this see if it helps
PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=true PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/[email protected]/install.ts