perf: build compatilibity target for Electron 27

This commit is contained in:
alex8088 2023-10-17 21:57:45 +08:00
parent 2360d502a4
commit ac47dacc1b

View file

@ -59,6 +59,7 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer()
const nodeVer = {
'27': '18.17',
'26': '18.16',
'25': '18.15',
'24': '18.14',
@ -88,6 +89,7 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer()
const chromeVer = {
'27': '118',
'26': '116',
'25': '114',
'24': '112',