summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/desktop/scripts')
-rwxr-xr-xpackages/desktop/scripts/prepare.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/desktop/scripts/prepare.ts b/packages/desktop/scripts/prepare.ts
index d909e7689..d802f2d89 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()