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

feat: custom data dir in app

Louis Beaumont3a70b9fb1679
diff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsx
index 47732744d..bd6a077d9 100644
--- a/screenpipe-app-tauri/components/recording-settings.tsx
+++ b/screenpipe-app-tauri/components/recording-settings.tsx
@@ -1009,7 +1009,7 @@ export function RecordingSettings({
<div className="flex items-center space-x-4">
<Slider
id="restartInterval"
- min={30}
+ min={0}
max={1440} // 24 hours
step={30}
value={[localSettings.restartInterval]}
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index d4f94741c..7e9a1363f 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -102,7 +102,7 @@ const defaultSettings: Settings = {
enableBeta: false,
showScreenpipeShortcut: "Super+Alt+S",
isFirstTimeUser: true,
- enableFrameCache: false, // Add this line
+ enableFrameCache: true, // Add this line
enableUiMonitoring: false, // Change from true to false
platform: "unknown", // Add this line
};
@@ -293,7 +293,7 @@ export function useSettings() {
(await store!.get<AIProviderType>("aiProviderType")) || "openai";
const savedEnableFrameCache =
- (await store!.get<boolean>("enableFrameCache")) || false;
+ (await store!.get<boolean>("enableFrameCache")) || true;
const savedEnableUiMonitoring =
(await store!.get<boolean>("enableUiMonitoring")) || false;
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 40b398888..9bb0aab48 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4170,7 +4170,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "0.12.1"
+version = "0.12.3"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index af77c2940..89b1247f5 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.12.2"
+version = "0.12.3"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index 6970f03a5..8421c384f 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -1,4 +1,3 @@
-use std::fs;
use serde_json::Value;
use tauri::Manager;
use tracing::info;