Skip to content

Commit 6dd7a1f

Browse files
feat: change default start scripts from X11 to Wayland
Raspberry Pi OS has been using Wayland as the default display server since 2023. This change aligns the default start behavior with the current Raspberry Pi OS standard. X11 start scripts remain available via start:x11 and start:x11:dev for users who still need X11 support.
1 parent 8e6701f commit 6dd7a1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
4848
"server": "node ./serveronly",
4949
"server:watch": "node ./serveronly/watcher.js",
50-
"start": "node --run start:x11",
51-
"start:dev": "node --run start:x11 -- dev",
50+
"start": "node --run start:wayland",
51+
"start:dev": "node --run start:wayland -- dev",
5252
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --ozone-platform=wayland",
5353
"start:wayland:dev": "node --run start:wayland -- dev",
5454
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",

0 commit comments

Comments
 (0)