Skip to content

Commit 842beef

Browse files
authored
update eletron to v42 (#4144)
additional things: - removed fix chrome-sandbox permissions (runs without) - added `npx install-electron` which downloads the electron binaries new in v42: > Electron now downloads its binary into node_modules dynamically on first launch instead of running a postinstall script. Added the install-electron script to manually trigger the download as well. electron/electron#49328
1 parent 6791154 commit 842beef

3 files changed

Lines changed: 101 additions & 591 deletions

File tree

.github/workflows/automated-tests.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ jobs:
6464
npx playwright install --with-deps chromium
6565
- name: "Prepare environment for tests"
6666
run: |
67-
# Fix chrome-sandbox permissions:
68-
sudo chown root:root ./node_modules/electron/dist/chrome-sandbox
69-
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
67+
# Download electron binary
68+
npx install-electron
7069
# Start labwc
7170
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 WLR_RENDERER=pixman labwc &
7271
touch config/custom.css

0 commit comments

Comments
 (0)