perf: build compatibility target for Electron 42, 43, 44

This commit is contained in:
alex8088 2026-09-25 00:44:14 +08:00
parent e691efbd82
commit 8df70754ca

View File

@ -69,6 +69,9 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer()
const nodeVer = {
'44': '24.18',
'43': '24.17',
'42': '24.15',
'41': '24.14',
'40': '24.14',
'39': '22.20',
@ -102,6 +105,9 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer()
const chromeVer = {
'44': '152',
'43': '150',
'42': '148',
'41': '146',
'40': '144',
'39': '142',