Skip to content

Commit 32bc9d0

Browse files
committed
linux
1 parent 6a0569b commit 32bc9d0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/actions/set-screen-resolution/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
run: |
2424
pnpm --filter @vscode-wdio/xvfb-patch run patch
2525
26-
# https://github.com/actions/runner-images/issues/8606
26+
# already use FHD resolution
2727
- name: Set display resolution on MacOS
2828
if: runner.os == 'macOS'
2929
shell: bash

infra/xvfb-patch/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const width = 1920
1010
const height = 1920
1111

1212
const insertBefore = "const dblDashPos = args.indexOf('--'),"
13-
const codeToInsert = ` args.unshift('--server-args=-screen 0 ${width}x${height}x24', '--');`
13+
const codeToInsert = ` args.unshift('--server-args="'-screen 0 ${width}x${height}x24'"', '--');`
1414

1515
const sourceCode = fs.readFileSync(filePath, 'utf-8')
1616

0 commit comments

Comments
 (0)