perf: build compatilibity target for Electron 26

This commit is contained in:
alex8088 2023-09-07 22:14:02 +08:00
parent 566f88960e
commit 670c23b2e1

View file

@ -58,6 +58,7 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const nodeVer = { const nodeVer = {
'26': '18.16',
'25': '18.15', '25': '18.15',
'24': '18.14', '24': '18.14',
'23': '18.12', '23': '18.12',
@ -86,6 +87,7 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const chromeVer = { const chromeVer = {
'26': '116',
'25': '114', '25': '114',
'24': '112', '24': '112',
'23': '110', '23': '110',