Skip to content

Commit 6498e15

Browse files
committed
feat: update servo to 0.1.0, add servoshell support
1 parent 2fb67f4 commit 6498e15

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201

202202
strategy:
203203
matrix:
204-
servo-version: [0.0.4]
204+
servo-version: [0.1.0]
205205

206206
steps:
207207
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
@@ -215,7 +215,7 @@ jobs:
215215
registry-url: 'https://registry.npmjs.org'
216216
- run: wget "https://github.com/servo/servo/releases/download/v${{ matrix.servo-version }}/servo-x86_64-linux-gnu.tar.gz"
217217
- run: tar -xf servo-x86_64-linux-gnu.tar.gz
218-
- run: sudo ln -s "$GITHUB_WORKSPACE/servo/servo" /usr/bin/
218+
- run: sudo ln -s "$GITHUB_WORKSPACE/servo/servoshell" /usr/bin/
219219
- run: sudo apt update
220220
- run: sudo apt install gstreamer1.0-plugins-bad
221221
- run: pnpm i --frozen-lockfile

bin/find-binary.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ function findBinaryOnce(name) {
9696
addPaths('darwin', '/Applications/Safari.app/Contents/MacOS/Safari')
9797
break
9898
case 'servo':
99+
addPaths('darwin', '/Applications/Servo.app/Contents/MacOS/servoshell')
99100
addPaths('darwin', '/Applications/Servo.app/Contents/MacOS/servo')
101+
addPaths('linux', '/usr/bin/servoshell')
100102
addPaths('linux', '/usr/bin/servo')
101103
break
102104
default:

0 commit comments

Comments
 (0)