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

Function pickBinaryPath

ai-code-studio/src/components/SettingsDialog.tsx:114–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 }
113
114 async function pickBinaryPath() {
115 const nextPath = await window.clawDesktop?.pickFile?.([
116 { name: 'Executable', extensions: ['exe', 'bin', 'cmd'] },
117 { name: 'All Files', extensions: ['*'] },
118 ]);
119 if (nextPath) {
120 setConfig(current => ({
121 ...current,
122 clawBinaryPath: nextPath,
123 }));
124 }
125 }
126
127 return (
128 <div className="pointer-events-none fixed inset-0 z-40 flex items-center justify-center bg-[rgba(27,22,17,0.30)] p-6 backdrop-blur-[2px]">

Callers 1

SettingsDialogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected