Skip to content

Commit

Permalink
Update paths in setupXvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Aug 17, 2020
1 parent 5250fc3 commit 3545c6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/setupXvfb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const statAsync = promisify(stat)

export async function setupXvfb() {
await Promise.all([
copyBinary('/var/task/bin/xkbcomp', '/tmp/xkbcomp'),
copyBinary('/var/task/bin/Xvfb', '/tmp/Xvfb')
copyBinary('/opt/bin/xkbcomp', '/tmp/xkbcomp'),
copyBinary('/opt/bin/Xvfb', '/tmp/Xvfb')
])
process.env.LIBGL_DRIVERS_PATH = '/var/task/lib/dri'
process.env.LIBGL_DRIVERS_PATH = '/opt/lib/dri'
const xvfb = spawn('/tmp/Xvfb', [':99', '-screen', '0', '1024x768x24', '-ac'], {
stdio: 'ignore'
})
Expand Down

0 comments on commit 3545c6a

Please sign in to comment.