deno-puppeteer icon indicating copy to clipboard operation
deno-puppeteer copied to clipboard

Download ARM Chromium builds on M1 Mac

Open mjarkk opened this issue 3 years ago • 1 comments

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.

mjarkk avatar Apr 14 '22 09:04 mjarkk

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 image

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

char8x avatar Aug 14 '22 14:08 char8x