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

Bump app to v2.0.233, CLI to v0.3.27

Louis Beaumont8866899530d6
diff --git a/Cargo.toml b/Cargo.toml
index 5d0711dde..949f4616e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ exclude = ["screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
-version = "0.3.26"
+version = "0.3.27"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index bc7b7878b..48c5a3b7a 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8612,7 +8612,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.225"
+version = "2.0.232"
dependencies = [
"anyhow",
"async-stream",
@@ -8692,7 +8692,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"anyhow",
"bytemuck",
@@ -8740,7 +8740,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -8791,7 +8791,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"anyhow",
"chrono",
@@ -8815,7 +8815,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"anyhow",
"chrono",
@@ -8831,7 +8831,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"anyhow",
"image 0.25.5",
@@ -8846,7 +8846,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"anyhow",
"async-trait",
@@ -8910,7 +8910,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.19"
+version = "0.3.26"
dependencies = [
"accessibility-sys",
"anyhow",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 5419c5905..821be3b26 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.232"
+version = "2.0.233"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/tray.rs b/screenpipe-app-tauri/src-tauri/src/tray.rs
index 85cd94d5d..6e7303cb9 100644
--- a/screenpipe-app-tauri/src-tauri/src/tray.rs
+++ b/screenpipe-app-tauri/src-tauri/src/tray.rs
@@ -237,14 +237,13 @@ fn handle_menu_event(app_handle: &AppHandle, event: tauri::menu::MenuEvent) {
tauri::async_runtime::spawn(async move {
info!("Stopping screenpipe sidecar before quit...");
if let Some(sidecar_state) = app_handle_clone.try_state::<SidecarState>() {
- match crate::sidecar::stop_screenpipe(
- sidecar_state,
- app_handle_clone.clone(),
- )
- .await
- {
- Ok(_) => info!("Screenpipe sidecar stopped successfully"),
- Err(e) => error!("Failed to stop screenpipe sidecar: {}", e),
+ // Access the inner Arc<Mutex<...>> directly instead of calling the tauri command
+ let mut handle_guard = sidecar_state.0.lock().await;
+ if let Some(handle) = handle_guard.take() {
+ handle.shutdown();
+ info!("Screenpipe sidecar stopped successfully");
+ } else {
+ debug!("No sidecar running to stop");
}
}
app_handle_clone.exit(0);