Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit cf5c012

Browse files
committed
tauri: rename sidecar to opencode-cli
1 parent 543dbe7 commit cf5c012

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/tauri/scripts/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function getCurrentSidecar(target = RUST_TARGET) {
3636

3737
export async function copyBinaryToSidecarFolder(source: string, target = RUST_TARGET) {
3838
await $`mkdir -p src-tauri/sidecars`
39-
const dest = `src-tauri/sidecars/opencode-${target}${process.platform === "win32" ? ".exe" : ""}`
39+
const dest = `src-tauri/sidecars/opencode-cli-${target}${process.platform === "win32" ? ".exe" : ""}`
4040
await $`cp ${source} ${dest}`
4141

4242
console.log(`Copied ${source} to ${dest}`)

packages/tauri/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"active": true,
2222
"targets": ["deb", "rpm", "dmg", "nsis"],
2323
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
24-
"externalBin": ["sidecars/opencode"],
24+
"externalBin": ["sidecars/opencode-cli"],
2525
"createUpdaterArtifacts": true,
2626
"macOS": {
2727
"entitlements": "./entitlements.plist"

0 commit comments

Comments
 (0)