From 0140e24e84f5332a233b166a0575f8abe89419c6 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 25 Feb 2024 09:03:24 +0530 Subject: [PATCH] add arm64 for windows --- electron-builder-config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/electron-builder-config.js b/electron-builder-config.js index 4a3b1e6..f86c31a 100644 --- a/electron-builder-config.js +++ b/electron-builder-config.js @@ -84,7 +84,10 @@ const config = { }, win: { publish: ["github"], - target: ["nsis", "portable"], + target: [ + { target: "nsis", arch: ["x64", "arm64"] }, + { target: "portable", arch: ["x64", "arm64"] }, + ], icon: "build/icon.ico", }, nsis: {