From 759be38320eb8f0d23fba5be21cde7a1ccdb1bc1 Mon Sep 17 00:00:00 2001 From: leejooy96 Date: Mon, 19 Sep 2022 11:06:00 +0900 Subject: [PATCH] pack: use the target configuration in package.json more explicitly --- package.json | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 415ec24..35ee087 100644 --- a/package.json +++ b/package.json @@ -87,14 +87,16 @@ "gatekeeperAssess": false, "icon": "buildRes/icons/icon.icns", "type": "distribution", - "target": { - "target": "dmg", - "arch": [ - "x64", - "arm64", - "universal" - ] - } + "target": [ + { + "target": "dmg", + "arch": [ + "x64", + "arm64", + "universal" + ] + } + ] }, "dmg": { "contents": [ @@ -115,17 +117,32 @@ "win": { "icon": "buildRes/icons/icon.ico", "target": [ - "appx", - "nsis" + { + "target": "appx", + "arch": "x64" + }, + { + "target": "nsis", + "arch": "x64" + } ] }, "linux": { "executableName": "vutron", "icon": "buildRes/icons", "target": [ - "snap", - "deb", - "rpm" + { + "target": "snap", + "arch": "x64" + }, + { + "target": "deb", + "arch": "x64" + }, + { + "target": "rpm", + "arch": "x64" + } ] } }