feat(ppc64): use Electron 41.y.z (#2771)

This commit is contained in:
Alex Garcia
2026-03-31 03:31:34 -05:00
committed by GitHub
parent 693c0a5de9
commit 8eabf502e0
4 changed files with 31 additions and 12 deletions

View File

@@ -351,3 +351,20 @@ index 021ad01..60cd058 100644
LINUX_ARMHF = 'linux-armhf',
+ LINUX_PPC64LE = 'linux-ppc64le',
diff --git a/build/npm/preinstall.ts b/build/npm/preinstall.ts
index dd53ff4..0bca5e8 100644
--- a/build/npm/preinstall.ts
+++ b/build/npm/preinstall.ts
@@ -147,7 +147,11 @@ function installHeaders() {
cwd: localHeaderPath
});
} catch (error) {
- throw new Error(`Error applying v8-source-location.patch: ${(error as Error).message}`);
+ if (process.env['VSCODE_ARCH'] === 'ppc64le') {
+ console.log('Ignoring patch error for ppc64le architecture');
+ } else {
+ throw new Error(`Error applying v8-source-location.patch: ${(error as Error).message}`);
+ }
}
}
}