M0.5: Tauri desktop shell with themed main window

The window is built in setup with the theme tokens injected by an
initialization script and the background colour taken from the theme, so
the first frame is already themed. Frontend IPC (engine_execute,
engine_list_commands) and the control channel both run commands through
the Host, which applies effects such as Quit. ui.screenshot captures the
window's client area from the screen because xcap skips windows of its own
process. build.rs generates the placeholder icon into the gitignored
icons/ directory. Verified on Windows: window opens, ping, listCommands,
screenshot, app.quit, and exit status 1 when the control port is taken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-14 18:39:49 +02:00
parent a3f83102f1
commit 55acb0dffb
14 changed files with 6025 additions and 36 deletions

View file

@ -39,7 +39,7 @@ git clone <repo-url> lutra
cd lutra
cargo xtask dev # desktop app in development mode
cargo run -p lutra-desktop -- --control 7979 . # + JSON control channel
cargo xtask dev -- --control 7979 . # + JSON control channel
cargo xtask ci # fmt, clippy, tests, layers, assets, clean-room, frontend checks
```