Skip to content

Commit ca6e8b2

Browse files
[core] chore: simplify Wayland start script (#3974)
Remove `--enable-features=UseOzonePlatform` and `--ozone-platform=wayland` flags as Electron 38+ changed the default `--ozone-platform` to `auto`, which automatically detects and uses Wayland when running in a Wayland session. Source: https://www.electronjs.org/blog/electron-38-0#removed-electron_ozone_platform_hint-environment-variable.
1 parent a0f1a2c commit ca6e8b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ planned for 2026-01-01
3838
- [tests] migrate e2e tests to Playwright (#3950)
3939
- [calendar] refactor: migrate CalendarFetcher to ES6 class and improve error handling (#3958)
4040
- [gitignore] cleanup/simplify .gitignore (#3952, #3954, #3968, #3969)
41-
- refactor(compliments): optimize `loadComplimentFile` method and add unit tests(#3969)
41+
- [compliments] refactor: optimize `loadComplimentFile` method and add unit tests(#3969)
42+
- [core] chore: simplify Wayland start script (#3974)
4243

4344
### Fixed
4445

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"server:watch": "node ./serveronly/watcher.js",
4747
"start": "node --run start:x11",
4848
"start:dev": "node --run start:x11 -- dev",
49-
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland",
49+
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js",
5050
"start:wayland:dev": "node --run start:wayland -- dev",
5151
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",
5252
"start:windows:dev": "node --run start:windows -- dev",

0 commit comments

Comments
 (0)