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: hide recorder log on windows

Louis Beaumont959f01af68fc
diff --git a/screenpipe-app-tauri/components/screenpipe-status.tsx b/screenpipe-app-tauri/components/screenpipe-status.tsx
index 6c0f5ae15..1f2103683 100644
--- a/screenpipe-app-tauri/components/screenpipe-status.tsx
+++ b/screenpipe-app-tauri/components/screenpipe-status.tsx
@@ -456,22 +456,28 @@ const HealthStatus = ({ className }: { className?: string }) => {
<Separator className="my-12" />
<DevModeSettings localDataDir={localDataDir} />
- <Collapsible
- open={isLogOpen}
- onOpenChange={setIsLogOpen}
- className="w-full mt-4"
- >
- <div className="flex items-center justify-between w-full">
- <CollapsibleTrigger className="flex items-center justify-between p-2 flex-grow border-b border-gray-200">
- recorder logs
- <span>{isLogOpen ? "▲" : "▼"}</span>
- </CollapsibleTrigger>
+ {isMac ? (
+ <Collapsible
+ open={isLogOpen}
+ onOpenChange={setIsLogOpen}
+ className="w-full mt-4"
+ >
+ <div className="flex items-center justify-between w-full">
+ <CollapsibleTrigger className="flex items-center justify-between p-2 flex-grow border-b border-gray-200">
+ recorder logs
+ <span>{isLogOpen ? "▲" : "▼"}</span>
+ </CollapsibleTrigger>
+ <LogFileButton />
+ </div>
+ <CollapsibleContent>
+ <LogViewer className="mt-2" />
+ </CollapsibleContent>
+ </Collapsible>
+ ) : (
+ <div className="flex justify-end mt-4">
<LogFileButton />
</div>
- <CollapsibleContent>
- <LogViewer className="mt-2" />
- </CollapsibleContent>
- </Collapsible>
+ )}
</div>
</DialogContent>
</Dialog>