This commit is contained in:
OpeOginni 2025-12-23 15:42:48 +08:00 committed by GitHub
commit 4936114972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,11 @@ for (const item of targets) {
autoloadPackageJson: true,
target: name.replace(pkg.name, "bun") as any,
outfile: `dist/${name}/bin/opencode`,
execArgv: [`--user-agent=opencode/${Script.version}`, "--"],
execArgv: [
`--user-agent=opencode/${Script.version}`,
`--config=${item.os === "win32" ? "NUL" : "/dev/null"}`,
"--",
],
windows: {},
},
entrypoints: ["./src/index.ts", parserWorker, workerPath],