bread-ecosystem/bread-capture
Breadway 21099065c4 bread-capture: generalize target registry, fix Drop-skipped-on-exit leak
Replaces the breadbar-only hardcoded view list with a registry keyed by
app name (--app-name, defaulting to --app-path's file stem) so wiring up
each new app just means adding one entry, not touching the CLI shape.

Also fixes a real leak found while testing breadbox against this:
std::process::exit() on the failure path skipped every destructor,
including Isolation's Drop — so a failed capture run (or, more subtly,
*any* run against an app whose view list didn't match yet, which is
exactly what happened testing this) permanently orphaned the headless
Sway process and its wayland-N/.lock socket pair. main() now returns
ExitCode instead of calling process::exit directly, so Drop always runs.
2026-07-29 11:33:06 +08:00
..
src bread-capture: generalize target registry, fix Drop-skipped-on-exit leak 2026-07-29 11:33:06 +08:00
Cargo.toml Add bread-screenshots + bread-capture: foundation for UI screenshot tooling 2026-07-23 14:15:49 +08:00