Skip to content

Commit

Permalink
fix cli components
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Nov 4, 2024
1 parent 6ea489d commit bbeacf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions screenpipe-app-tauri/components/cli-command-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ export function CliCommandDialog({ localSettings }: CliCommandDialogProps) {
localSettings.languages.forEach((id) => args.push(`--language ${id}`));
}

if (localSettings.enableFrameCache) {
args.push("--enable-frame-cache");
}

if (localSettings.enableUiMonitoring) {
args.push("--enable-ui-monitoring");
}

return `${cliPath} ${args.join(" ")}`;
};

Expand Down

0 comments on commit bbeacf0

Please sign in to comment.