fix(release): accept optional Discord voice decoder · openclaw/openclaw@8f1f790
steipete
·
2026-05-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -353,7 +353,12 @@ describe("collectInstalledRootDependencyManifestErrors", () => {
|
353 | 353 | ); |
354 | 354 | writeFileSync( |
355 | 355 | join(packageRoot, "dist", "discord-voice-runtime.js"), |
356 | | -'const OpusScript = require("opusscript");\nexport { OpusScript };\n', |
| 356 | +[ |
| 357 | +'const { OpusDecoder } = require("opus-decoder");', |
| 358 | +'const OpusScript = require("opusscript");', |
| 359 | +"export { OpusDecoder, OpusScript };", |
| 360 | +"", |
| 361 | +].join("\n"), |
357 | 362 | "utf8", |
358 | 363 | ); |
359 | 364 | writeFileSync( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。