Skip to content

Conversation

@KristjanESPERANTO
Copy link
Collaborator

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 #3974

…d 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#3974
@khassel khassel merged commit c64d3ef into MagicMirrorOrg:develop Dec 14, 2025
9 of 10 checks passed
@KristjanESPERANTO KristjanESPERANTO deleted the fix/wayland-ozone-platform branch December 15, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants