mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 15:26:04 +00:00
* fix(desktop): Electron and Chromium apps start however they are launched The session preload only added --no-sandbox when the program path itself sat beside chrome-sandbox, so a PATH link such as /usr/bin/vesktop was missed and the app aborted on the setuid sandbox. It now resolves the path and also checks the parent folder, and adds --ozone-platform=x11 when an X display is set, since Wayland cannot open the GPU stand-in. The desktop menu overrides that added the same flags are removed: they covered only menu launches made after the desktop started, and the preload now covers every launch. Stale overrides are cleaned up by the existing marker check. * fix(preload): execvp checks the program found on PATH for the Chromium flags * fix(preload): the PATH lookup prefers the program execvp would run