From bda469e14b2f115867cfdaa0318bbba2ec79dd9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Fri, 9 Aug 2024 00:33:31 +0800 Subject: [PATCH] =?UTF-8?q?:rocket:=20=E6=89=93=E5=8C=85=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E8=A7=84=E8=8C=83=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json5 | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index 69c047a..e2d99e4 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -49,9 +49,10 @@ "x64", "arm64", "universal" - ] + ], } ], + "artifactName": "${productName}-Mac-${arch}-${version}.${ext}", category: "public.app-category.utilities" }, "win": { @@ -63,7 +64,7 @@ "ia32" ] }, -// { + // { // "target": "appx", // "arch": [ // "x64", @@ -85,16 +86,17 @@ ] } ], + "artifactName": "${productName}-Windows-${arch}-${version}.${ext}" }, "nsis": { - "artifactName": "${productName}-Setup-${version}.${ext}", + "artifactName": "${productName}-Windows-${arch}-${version}-Setup.${ext}", "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "deleteAppDataOnUninstall": false }, "portable": { - "artifactName": "${productName}-${version}-${arch}.${ext}" + "artifactName": "${productName}-Windows-${arch}-${version}.${ext}" }, "linux": { "target": [ @@ -103,7 +105,7 @@ "arch": [ "x64", "arm64", -// "armv7l" + // "armv7l" ] }, { @@ -111,7 +113,7 @@ "arch": [ "x64", "arm64", -// "armv7l" + // "armv7l" ] }, { @@ -120,14 +122,15 @@ "x64" ] }, -// { -// "target": "snap", -// "arch": [ -// "x64" -// ] -// } + // { + // "target": "snap", + // "arch": [ + // "x64" + // ] + // } ], "category": "Network", + "artifactName": "${productName}-Linux-${arch}-${version}.${ext}" }, "publish": [ {