Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: gate crash sentinel record on macos
Richie McIlroy5ec47f16e669
diff --git a/apps/desktop/src-tauri/src/crash_sentinel.rs b/apps/desktop/src-tauri/src/crash_sentinel.rsindex f92c6fcfa..c9ff95cec 100644--- a/apps/desktop/src-tauri/src/crash_sentinel.rs+++ b/apps/desktop/src-tauri/src/crash_sentinel.rs@@ -29,6 +29,7 @@ struct SessionRecord {struct ActiveSession {path: PathBuf,+ #[cfg(target_os = "macos")]record: SessionRecord,}@@ -79,7 +80,11 @@ pub fn init(logs_dir: &Path, app_version: &str) {scope.set_tag("app.version", app_version);});- *SESSION.lock().unwrap() = Some(ActiveSession { path, record });+ *SESSION.lock().unwrap() = Some(ActiveSession {+ path,+ #[cfg(target_os = "macos")]+ record,+ });}/// Record the result of the macOS Liquid Glass material attempt so that, if this