Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
test(desktop-gpui): let the crash harness press Recover with CAP_GPUI_AUTO_RECOVER
Richie McIlroyf3e45e5aa467
diff --git a/apps/desktop-gpui/src/main_window.rs b/apps/desktop-gpui/src/main_window.rsindex 36774a880..d93088dbe 100644--- a/apps/desktop-gpui/src/main_window.rs+++ b/apps/desktop-gpui/src/main_window.rs@@ -1679,6 +1679,11 @@ impl MainWindow {this.incomplete_recording = incomplete.into_iter().next();if this.incomplete_recording.is_none() {this.recovery_error = None;+ } else if std::env::var("CAP_GPUI_AUTO_RECOVER").is_ok_and(|value| value == "1") {+ // The crash harness presses Recover, since unprivileged+ // synthetic clicks are dropped (as for every+ // `CAP_GPUI_AUTO_*` hook).+ this.process_incomplete_recording(true, window, cx);}cx.notify();window.refresh();