perf: build compatibility target for Electron 39

This commit is contained in:
alex8088 2025-10-29 00:08:03 +08:00
parent 56fb519092
commit a4f7693712

View File

@ -69,6 +69,7 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const nodeVer = { const nodeVer = {
'39': '22.20',
'38': '22.19', '38': '22.19',
'37': '22.16', '37': '22.16',
'36': '22.14', '36': '22.14',
@ -99,6 +100,7 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const chromeVer = { const chromeVer = {
'39': '142',
'38': '140', '38': '140',
'37': '138', '37': '138',
'36': '136', '36': '136',