From 9de1a5e4dc095243dd1968e48fceeaa0275451af Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:17:04 +0200 Subject: [PATCH] Small build config cleanup (#2621) --- _scripts/build.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_scripts/build.js b/_scripts/build.js index 2ec04df9..fea20bf8 100644 --- a/_scripts/build.js +++ b/_scripts/build.js @@ -8,7 +8,6 @@ const args = process.argv let targets const platform = os.platform() -const cpus = os.cpus() if (platform === 'darwin') { let arch = Arch.x64 @@ -16,7 +15,7 @@ if (platform === 'darwin') { if (args[2] === 'arm64') { arch = Arch.arm64 } - + targets = Platform.MAC.createTarget(['DMG','zip', '7z'], arch) } else if (platform === 'win32') { let arch = Arch.x64 @@ -24,7 +23,7 @@ if (platform === 'darwin') { if (args[2] === 'arm64') { arch = Arch.arm64 } - + targets = Platform.WINDOWS.createTarget(['nsis', 'zip', '7z', 'portable'], arch) } else if (platform === 'linux') { let arch = Arch.x64