fix: include Arc to supported Chromium Browsers (#11217)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (24) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run

This commit is contained in:
Weslley Araújo 2025-05-30 04:52:22 -03:00 committed by GitHub
parent ad56077c70
commit dd6396dd39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,7 @@ async function tryOpenWithAppleScript({
'Brave Browser',
'Vivaldi',
'Chromium',
'Arc',
];
// Among all the supported browsers, retrieves to stdout the active ones
@ -72,7 +73,7 @@ async function tryOpenWithAppleScript({
)})$"`;
const result = await execPromise(command).catch(() => {
// Ignore grep errors when macOS user has no Chromium-based browser
// Ignore grep errors when macOS user has no Chromium-based browser open
// See https://github.com/facebook/docusaurus/issues/11204
});
if (!result) {