perf: build target for Electron 20

This commit is contained in:
alex8088 2022-08-08 19:19:49 +08:00
parent 71dc5fd18b
commit cec47266bd

View file

@ -320,6 +320,7 @@ function getElectronMainVer(root: string): string {
function getElectronNodeTarget(electronVer: string): string {
const nodeVer = {
'20': '16.15',
'19': '16.14',
'18': '16.13',
'17': '16.13',
@ -338,6 +339,7 @@ function getElectronNodeTarget(electronVer: string): string {
function getElectronChromeTarget(electronVer: string): string {
const chromeVer = {
'20': '104',
'19': '102',
'18': '100',
'17': '98',