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

fix (#1028)

neo773f3f13f94d527
diff --git a/screenpipe-app-tauri/app/globals.css b/screenpipe-app-tauri/app/globals.css
index c58facc73..9c059f27e 100644
--- a/screenpipe-app-tauri/app/globals.css
+++ b/screenpipe-app-tauri/app/globals.css
@@ -110,6 +110,6 @@
@apply border-border;
}
body {
- @apply bg-background text-foreground;
+ @apply bg-background text-foreground !pointer-events-auto;
}
}
\ No newline at end of file
diff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsx
index b4ce01b02..3d5cec697 100644
--- a/screenpipe-app-tauri/components/recording-settings.tsx
+++ b/screenpipe-app-tauri/components/recording-settings.tsx
@@ -68,6 +68,7 @@ import { Separator } from "./ui/separator";
import { MultiSelect } from "@/components/ui/multi-select";
import { Alert, AlertDescription, AlertTitle } from "./ui/alert";
import { useSqlAutocomplete } from "@/lib/hooks/use-sql-autocomplete";
+import { relaunch } from '@tauri-apps/plugin-process';
type PermissionsStatus = {
screenRecording: string;
@@ -272,12 +273,11 @@ export function RecordingSettings() {
}
await invoke("kill_all_sreenpipes");
-
- await new Promise((resolve) => setTimeout(resolve, 1000));
-
// Start a new instance with updated settings
await invoke("spawn_screenpipe");
+
await new Promise((resolve) => setTimeout(resolve, 2000));
+ await relaunch();
toast({
title: "settings updated successfully",