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): use correct openPermissionSettings API

Louis Beaumontfa87f4de15c2
diff --git a/screenpipe-app-tauri/components/onboarding/status.tsx b/screenpipe-app-tauri/components/onboarding/status.tsx
index 1a7068df2..29b354ab2 100644
--- a/screenpipe-app-tauri/components/onboarding/status.tsx
+++ b/screenpipe-app-tauri/components/onboarding/status.tsx
@@ -111,9 +111,9 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({
const openSystemPreferences = async (type: "screen" | "audio") => {
try {
if (type === "screen") {
- await commands.openScreenRecordingPreferences();
+ await commands.openPermissionSettings("screenRecording");
} else {
- await commands.openMicrophonePreferences();
+ await commands.openPermissionSettings("microphone");
}
} catch (error) {
console.error("Failed to open preferences:", error);