perf: build compatilibity target for Electron 29

This commit is contained in:
alex8088 2024-02-24 00:31:41 +08:00
parent 7f13ea2a84
commit 19489a28c8

View file

@ -64,6 +64,7 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer()
const nodeVer = {
'29': '20.9',
'28': '18.18',
'27': '18.17',
'26': '18.16',
@ -93,6 +94,7 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer()
const chromeVer = {
'29': '122',
'28': '120',
'27': '118',
'26': '116',