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

release-app revert again windows tray menu crash

Louis Beaumont1936bee0e25a
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 61345ad62..7e6cb9d31 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 = "0.22.9"
+version = "0.23.0"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs
index 580bf75dc..230855071 100755
--- a/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -882,12 +882,16 @@ async fn main() {
app.manage(server_shutdown_tx);
// Start health check service
- let app_handle = app.handle().clone();
- tauri::async_runtime::spawn(async move {
- if let Err(e) = start_health_check(app_handle).await {
- error!("Failed to start health check service: {}", e);
- }
- });
+ // macos only
+ #[cfg(target_os = "macos")]
+ {
+ let app_handle = app.handle().clone();
+ tauri::async_runtime::spawn(async move {
+ if let Err(e) = start_health_check(app_handle).await {
+ error!("Failed to start health check service: {}", e);
+ }
+ });
+ }
#[cfg(target_os = "macos")]
app.set_activation_policy(tauri::ActivationPolicy::Regular);