Skip to content

Commit a782bb2

Browse files
committed
claude fix
1 parent eacdf62 commit a782bb2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

scripts/bundle.macos.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ export PLAYWRIGHT_SKIP_BROWSER_GC=1
99

1010
pushd bundle/
1111

12-
# Install all browsers with mac13 platform override
13-
PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=mac13 npx playwright install
14-
PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=mac13 npx playwright install-deps
12+
# Install browsers for all supported macOS platforms.
13+
# Each platform may have different browser binary directory structures
14+
# (e.g., Chromium uses chrome-mac/ on mac13 vs chrome-mac-arm64/ on mac14/mac15).
15+
# Installing for each platform ensures the correct binaries are available at runtime.
16+
for platform in mac13 mac14 mac15; do
17+
PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=$platform npx playwright install
18+
PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=$platform npx playwright install-deps
19+
done
1520
npx playwright --version
1621

1722
popd

0 commit comments

Comments
 (0)