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(onboarding): auto-enable encryption on Windows/Linux, show opt-in only on macOS

Louis Beaumontc04951886a53
diff --git a/apps/screenpipe-app-tauri/components/onboarding/permissions-step.tsx b/apps/screenpipe-app-tauri/components/onboarding/permissions-step.tsx
index 3085f0e5b..f11658821 100644
--- a/apps/screenpipe-app-tauri/components/onboarding/permissions-step.tsx
+++ b/apps/screenpipe-app-tauri/components/onboarding/permissions-step.tsx
@@ -151,6 +151,7 @@ export default function PermissionsStep({
request: async () => {
await commands.enableKeychainEncryption();
},
+ macOnly: true, // Windows/Linux: auto-enabled below (no modal needed)
optional: true,
},
];
@@ -200,11 +201,14 @@ export default function PermissionsStep({
commands.getInstalledBrowsers().then(setInstalledBrowsers).catch(() => {});
}, [isPlatformLoading]);
- // Non-mac: skip permissions entirely
+ // Non-mac: auto-enable encryption (no modal on Windows/Linux) then skip
useEffect(() => {
if (isPlatformLoading) return;
if (!isMac && !hasAdvancedRef.current) {
hasAdvancedRef.current = true;
+ // Silently enable keychain encryption — Windows Credential Manager
+ // and Linux Secret Service don't show permission modals
+ commands.enableKeychainEncryption().catch(() => {});
handleNextSlide();
}
}, [isMac, isPlatformLoading, handleNextSlide]);