From d52660fca62347b6bc4088660a79c55e03e4eeb3 Mon Sep 17 00:00:00 2001 From: Pedram Amini Date: Mon, 29 Dec 2025 14:12:34 -0600 Subject: [PATCH] fix: remove explicit arch arrays from Linux targets to prevent cross-arch package contamination Fixes #116 - electron-builder was building both x64 and arm64 packages on each runner regardless of CLI flags, causing the ARM64 runner's amd64.deb (with ARM binaries inside) to overwrite the correct x64 package during artifact deduplication. --- package.json | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index d0ac06c5..5de76f53 100644 --- a/package.json +++ b/package.json @@ -144,27 +144,9 @@ }, "linux": { "target": [ - { - "target": "AppImage", - "arch": [ - "x64", - "arm64" - ] - }, - { - "target": "deb", - "arch": [ - "x64", - "arm64" - ] - }, - { - "target": "rpm", - "arch": [ - "x64", - "arm64" - ] - } + "AppImage", + "deb", + "rpm" ], "category": "Development", "icon": "build/icon.png",