Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(store): add serde default to OnboardingStore for forward compatibility

Louis Beaumontf666822b7c8c
diff --git a/screenpipe-app-tauri/src-tauri/src/store.rs b/screenpipe-app-tauri/src-tauri/src/store.rs
index 973ed8159..c0e836db6 100644
--- a/screenpipe-app-tauri/src-tauri/src/store.rs
+++ b/screenpipe-app-tauri/src-tauri/src/store.rs
@@ -21,6 +21,7 @@ pub fn get_store(
}
#[derive(Serialize, Deserialize, Type, Clone)]
+#[serde(default)]
pub struct OnboardingStore {
#[serde(rename = "isCompleted")]
pub is_completed: bool,