From a736af835e877aad8e43008d1130fcbfc5b264f3 Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Tue, 18 Apr 2023 23:46:29 +0800 Subject: [PATCH] perf: build compatilibity target for Electron 24 --- src/electron.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/electron.ts b/src/electron.ts index 2a1b695..0e33638 100644 --- a/src/electron.ts +++ b/src/electron.ts @@ -59,6 +59,7 @@ export function getElectronNodeTarget(): string { const electronVer = getElectronMajorVer() const nodeVer = { + '24': '18.14', '23': '18.12', '22': '16.17', '21': '16.16', @@ -85,6 +86,7 @@ export function getElectronChromeTarget(): string { const electronVer = getElectronMajorVer() const chromeVer = { + '24': '112', '23': '110', '22': '108', '21': '106',