diff options
| author | Dax Raad <[email protected]> | 2026-01-29 21:35:24 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-29 21:35:24 -0500 |
| commit | d3d6e7e275c72cde95bb3a57253d18e245825bc5 (patch) | |
| tree | e9d56e6a1ad94734f141eb26bc37404715674d44 | |
| parent | a70c66eb3f7c05bbc6c162511469a08af122c402 (diff) | |
| download | opencode-d3d6e7e275c72cde95bb3a57253d18e245825bc5.tar.gz opencode-d3d6e7e275c72cde95bb3a57253d18e245825bc5.zip | |
sync
| -rwxr-xr-x | packages/desktop/scripts/prepare.ts | 4 |
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() |
