perf: build compatilibity target for Electron 30

This commit is contained in:
alex8088 2024-04-20 23:50:12 +08:00
parent eeaa7de45c
commit 6170705eae

View file

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