Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(desktop-gpui): reveal a recovered recording through the path helper so Windows Explorer accepts it

Richie McIlroy93e1bad782c0
diff --git a/apps/desktop-gpui/src/main_window.rs b/apps/desktop-gpui/src/main_window.rs
index 0d1368627..d7187327f 100644
--- a/apps/desktop-gpui/src/main_window.rs
+++ b/apps/desktop-gpui/src/main_window.rs
@@ -1787,7 +1787,7 @@ impl MainWindow {
this.scan_incomplete_recordings(window, cx, std::time::Duration::ZERO);
if recover {
if project_path.join("content/output.mp4").is_file() {
- cx.reveal_path(&project_path.join("content/output.mp4"));
+ library::reveal_path(&project_path.join("content/output.mp4"), cx);
} else {
cx.defer(move |cx| app_windows::open_editor(project_path, cx));
}