From 78a117d5be3c4696f3a90518a13dfad68d994ea4 Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Sat, 21 Mar 2026 14:36:18 +0800 Subject: [PATCH] perf: build compatibility target for Electron 40, 41 --- src/electron.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/electron.ts b/src/electron.ts index af1bb29..5704504 100644 --- a/src/electron.ts +++ b/src/electron.ts @@ -69,6 +69,8 @@ export function getElectronNodeTarget(): string { const electronVer = getElectronMajorVer() const nodeVer = { + '41': '24.14', + '40': '24.14', '39': '22.20', '38': '22.19', '37': '22.16', @@ -100,6 +102,8 @@ export function getElectronChromeTarget(): string { const electronVer = getElectronMajorVer() const chromeVer = { + '41': '146', + '40': '144', '39': '142', '38': '140', '37': '138',