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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
release-app retry windows health icon
Louis Beaumont43384de739e3
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex a387fbc87..5493c99a3 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -5273,7 +5273,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "0.28.5"+version = "0.28.9"dependencies = ["anyhow","async-stream",diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 3185a0453..fc71dbf89 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.28.9"+version = "0.29.0"description = ""authors = ["you"]license = ""diff --git a/screenpipe-app-tauri/src-tauri/src/health.rs b/screenpipe-app-tauri/src-tauri/src/health.rsindex 1edd36deb..108ef3293 100644--- a/screenpipe-app-tauri/src-tauri/src/health.rs+++ b/screenpipe-app-tauri/src-tauri/src/health.rs@@ -1,5 +1,6 @@use anyhow::Result;use serde::Deserialize;+use tauri::{path::BaseDirectory, Manager};use tokio::time::{interval, Duration};#[derive(Debug, Deserialize)]@@ -42,12 +43,22 @@ pub async fn start_health_check(app: tauri::AppHandle) -> Result<()> {last_status = current_status.to_string();if let Some(main_tray) = app.tray_by_id("screenpipe_main") {let icon_path = if current_status == "unhealthy" {- "assets/screenpipe-logo-tray-failed.png"+ app.path()+ .resolve(+ "assets/screenpipe-logo-tray-failed.png",+ BaseDirectory::Resource,+ )+ .expect("failed to resolve icon path")} else {- "assets/screenpipe-logo-tray-black.png"+ app.path()+ .resolve(+ "assets/screenpipe-logo-tray-black.png",+ BaseDirectory::Resource,+ )+ .expect("failed to resolve icon path")};let _ = main_tray- .set_icon(Some(tauri::image::Image::from_path(icon_path).unwrap()))+ .set_icon(Some(tauri::image::Image::from_path(&icon_path).unwrap())).and_then(|_| main_tray.set_icon_as_template(true));}}@@ -57,13 +68,15 @@ pub async fn start_health_check(app: tauri::AppHandle) -> Result<()> {println!("health check failed: {}", e);last_status = "error".to_string();if let Some(main_tray) = app.tray_by_id("screenpipe_main") {+ let icon_path = app+ .path()+ .resolve(+ "assets/screenpipe-logo-tray-failed.png",+ BaseDirectory::Resource,+ )+ .expect("failed to resolve icon path");let _ = main_tray- .set_icon(Some(- tauri::image::Image::from_path(- "assets/screenpipe-logo-tray-failed.png",- )- .unwrap(),- ))+ .set_icon(Some(tauri::image::Image::from_path(&icon_path).unwrap())).and_then(|_| main_tray.set_icon_as_template(true));}}diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rsindex 1b2912d32..b24c83ebc 100755--- a/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/screenpipe-app-tauri/src-tauri/src/main.rs@@ -1032,15 +1032,15 @@ async fn main() {// Start health check service// 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")]+ // {+ 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);