Wayland support

Hi,

Raspberry Pi OS Bookworm is now defaulting to Wayland and Wayfire and because of this change, the Docker image doesn't start anymore as its looking for DISPLAY to be set which doesn't exist anymore.

> magicmirror@2.29.0 start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[2024-10-08 12:31:08.138] [ERROR] App threw an error during load 
[2024-10-08 12:31:08.142] [ERROR] Error: Cannot find module '/opt/magic_mirror/js/../modules/default/defaultmodules'
Require stack:
- /opt/magic_mirror/js/app.js
- /opt/magic_mirror/js/electron.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
    at Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:1058:27)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/opt/magic_mirror/js/app.js:11:24)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/opt/magic_mirror/js/electron.js:4:14) 
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module '/opt/magic_mirror/js/../modules/default/defaultmodules'
Require stack:
- /opt/magic_mirror/js/app.js
- /opt/magic_mirror/js/electron.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
    at Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:1058:27)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/opt/magic_mirror/js/app.js:11:24)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:17025)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/opt/magic_mirror/js/electron.js:4:14)
[45:1008/123108.144570:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[45:1008/123108.144620:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
/opt/magic_mirror/node_modules/electron/dist/electron exited with signal SIGSEGV
Edited by Gaëtan Trellu