MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / pickBinaryPath

Function pickBinaryPath

ai-code-studio/src/components/SetupWizard.tsx:122–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 async function pickBinaryPath() {
123 const nextPath = await window.clawDesktop?.pickFile?.([
124 { name: 'Executable', extensions: ['exe', 'bin', 'cmd'] },
125 { name: 'All Files', extensions: ['*'] },
126 ]);
127 if (nextPath) {
128 setConfig(current => ({
129 ...current,
130 clawBinaryPath: nextPath,
131 }));
132 }
133 }
134
135 function move(delta: -1 | 1) {
136 const nextIndex = Math.min(Math.max(stepIndex + delta, 0), wizardSteps.length - 1);

Callers 1

SetupWizardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected