perf: build compatilibity target for Electron 23

This commit is contained in:
alex8088 2023-02-08 21:35:49 +08:00
parent 5ed5fe9352
commit b0fc657db4

View file

@ -59,6 +59,7 @@ export function getElectronNodeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const nodeVer = { const nodeVer = {
'23': '18.12',
'22': '16.17', '22': '16.17',
'21': '16.16', '21': '16.16',
'20': '16.15', '20': '16.15',
@ -84,6 +85,7 @@ export function getElectronChromeTarget(): string {
const electronVer = getElectronMajorVer() const electronVer = getElectronMajorVer()
const chromeVer = { const chromeVer = {
'23': '110',
'22': '108', '22': '108',
'21': '106', '21': '106',
'20': '104', '20': '104',