Commit 2414026
committed
fix(core): restore --ozone-platform=wayland flag for reliable Wayland support
The Electron 38+ auto-detection of ozone-platform does not work reliably
in all environments (e.g., Docker containers) because it depends on
environment variables like XDG_SESSION_TYPE which may not be set.
Since start:wayland is explicitly called for Wayland sessions, it makes
sense to explicitly specify the platform flag for maximum reliability.
The --enable-features=UseOzonePlatform flag remains removed as it is no
longer needed since Electron 38.
Fixes Docker compatibility issue reported in MagicMirrorOrg#39741 parent 1998b62 commit 2414026
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments