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

chore: add notification

Louis Beaumont765d12dbb711
diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs
index ce974d6ab..b2cbce275 100755
--- a/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -224,6 +224,14 @@ async fn main() {
app_handle.exit(0);
}
"update_now" => {
+ use tauri_plugin_notification::NotificationExt;
+ app_handle.notification()
+ .builder()
+ .title("screenpipe")
+ .body("installing latest version")
+ .show()
+ .unwrap();
+
tokio::task::block_in_place(move || {
Handle::current().block_on(async move {
if let Err(err) = sidecar::kill_all_sreenpipes(