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

chores

Louis Beaumont549d3e9384f1
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 24c493fef..1e3a131e5 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -10,8 +10,8 @@
# git tag $VERSION
# git push origin $VERSION
# gh release create $VERSION --generate-notes
-# TAURI_SIGNING_PRIVATE_KEY="..."
-# TAURI_SIGNING_PRIVATE_KEY_PASSWORD="..."
+# export TAURI_SIGNING_PRIVATE_KEY="..."
+# export TAURI_SIGNING_PRIVATE_KEY_PASSWORD="..."
# export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
# export PKG_CONFIG_ALLOW_CROSS=1
# For M1 (aarch64-apple-darwin):
diff --git a/Cargo.toml b/Cargo.toml
index 3a0f4e590..18d70c1d1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,6 @@ members = [
"screenpipe-vision",
"screenpipe-audio",
"screenpipe-server",
-
]
exclude = [
"examples/apps/screenpipe-app-tauri/src-tauri",
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs b/examples/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
index 4fd7c45fa..3094f2bef 100755
--- a/examples/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs
@@ -33,7 +33,7 @@ impl AnalyticsManager {
event: &str,
properties: Option<serde_json::Value>,
) -> Result<(), Box<dyn std::error::Error>> {
- if !*self.enabled.lock().unwrap() {
+ if !*self.enabled.lock().await {
return Ok(());
}
@@ -69,7 +69,7 @@ impl AnalyticsManager {
loop {
interval.tick().await;
- if *self.enabled.lock().unwrap() {
+ if *self.enabled.lock().await {
if let Err(e) = self.send_event("app_still_running", None).await {
error!("Failed to send periodic PostHog event: {}", e);
}
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index e1f0286d0..6ce14ebb9 100755
--- a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -159,7 +159,7 @@ use tokio::io::{AsyncBufReadExt, BufReader};
use tokio::time::{interval, Duration};
async fn start_server() -> anyhow::Result<()> {
- let restart_interval = Duration::from_secs(1 * 60); // Restart every 20 minutes
+ let restart_interval = Duration::from_secs(20 * 60); // Restart every 20 minutes
let server_handle: Arc<tokio::sync::Mutex<Option<tokio::task::JoinHandle<()>>>> =
Arc::new(tokio::sync::Mutex::new(None));
let server_handle_clone = Arc::clone(&server_handle);