dev.sh run: home folder, render nodes, build first

Issue #1: run mounts the home folder at its own path with HOME there,
so the app reads the user's files and theme. Issue #2: each render
node passes with its group, which Mesa's EGL needs. run builds before
it starts the app.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
雷电芽衣andClaude committed 2026-09-26 14:29:56 -04:00
1 parent 2d219dd115
commit 8881bfead1
4 files changed
+14 -8

No files matched your search

+3 -1
View File
@@ -59,9 +59,11 @@ The build runs in Docker, so the host needs only Docker:
```sh
scripts/dev.sh build # configure and build in Ubuntu 24.04
scripts/dev.sh test # every test, headless
scripts/dev.sh run # the app on your Wayland display
scripts/dev.sh run # build, then the app on your Wayland display
```
`run` gives the container your home folder at its own path, so the app opens and saves your files and reads your Omarchy theme, and the GPU's render nodes (`/dev/dri/renderD*`), which Mesa's EGL wants. Files outside your home folder stay out of reach.
By hand: C++20, Qt 6.4 or later (Widgets, Concurrent, image formats), CMake, Ninja, libheif, fontconfig and ONNX Runtime. `-DOMAPHOTO_MODEL=path/to/u2net.onnx` installs Remove Background's model. `scripts/distro-check.sh arch|fedora|nixos|resolute` builds and tests on those systems (`resolute` is Ubuntu 26.04).
## Licence