Commit 5a0d256
fix(build-vscode): support VSCODE_ELECTRON_REPOSITORY/_TAG env vars in gulpfile
ppc64le/loong64/riscv64 builds use community Electron forks (lex-ibm,
darkyzhou, riscv-forks) because the official electron releases lack those
binaries. cortexide-builder's package_bin.sh exports
VSCODE_ELECTRON_REPOSITORY + VSCODE_ELECTRON_TAG and previously relied on a
.js patch step to make the gulpfile honor them — but cortexide ships
gulpfile.vscode.ts (no .js), so the patch attempt failed with ENOENT and
exited 1 for those archs.
Add native env-var support in the .ts source: when set, merge \`{ repo, tag }\`
into electronConfig before the spread that builds the @electron/get options.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d2a6cd4 commit 5a0d256
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
528 | 538 | | |
529 | 539 | | |
530 | 540 | | |
531 | 541 | | |
532 | 542 | | |
| 543 | + | |
533 | 544 | | |
534 | 545 | | |
535 | 546 | | |
| |||
0 commit comments