tauri: rename sidecar to opencode-cli
This commit is contained in:
parent
7b83294590
commit
cc82a2711b
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ export function getCurrentSidecar(target = RUST_TARGET) {
|
|||
|
||||
export async function copyBinaryToSidecarFolder(source: string, target = RUST_TARGET) {
|
||||
await $`mkdir -p src-tauri/sidecars`
|
||||
const dest = `src-tauri/sidecars/opencode-${target}${process.platform === "win32" ? ".exe" : ""}`
|
||||
const dest = `src-tauri/sidecars/opencode-cli-${target}${process.platform === "win32" ? ".exe" : ""}`
|
||||
await $`cp ${source} ${dest}`
|
||||
|
||||
console.log(`Copied ${source} to ${dest}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue