Skip to content

The open source coding agent.

TypeScript

sync

Dax Raadd3d6e7e275c7
diff --git a/packages/desktop/scripts/prepare.ts b/packages/desktop/scripts/prepare.ts
index d909e76896b..d802f2d89ee 100755
--- a/packages/desktop/scripts/prepare.ts
+++ b/packages/desktop/scripts/prepare.ts
@@ -4,9 +4,9 @@ import { $ } from "bun"
import { Script } from "@opencode-ai/script"
import { copyBinaryToSidecarFolder, getCurrentSidecar, windowsify } from "./utils"
-const pkg = await Bun.file("../package.json").json()
+const pkg = await Bun.file("./package.json").json()
pkg.version = Script.version
-await Bun.write("../package.json", JSON.stringify(pkg, null, 2) + "\n")
+await Bun.write("./package.json", JSON.stringify(pkg, null, 2) + "\n")
console.log(`Updated package.json version to ${Script.version}`)
const sidecarConfig = getCurrentSidecar()