From aac35e5428299712dc0187ad65182ffd4e71cd45 Mon Sep 17 00:00:00 2001 From: guanyuankai Date: Mon, 10 Nov 2025 10:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E5=8F=91=E5=B8=83=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json5 | 54 +++++++++++++----------------------------- 1 file changed, 16 insertions(+), 38 deletions(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index d8e386b..493541e 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -1,43 +1,21 @@ -// @see - https://www.electron.build/configuration/configuration { - "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", - "appId": "YourAppID", - "asar": true, - "productName": "YourAppName", - "directories": { - "output": "release/${version}" - }, - "files": [ - "dist", - "dist-electron" - ], - "mac": { - "target": [ - "dmg" - ], - "artifactName": "${productName}-Mac-${version}-Installer.${ext}" - }, - "win": { - "target": [ + appId: "com.yourcompany.edge-proxy-manager", + productName: "EdgeProxyManager", + compression: "store", + files: ["dist-electron/main.js", "dist-electron/preload.mjs", "dist/**"], + + linux: { + target: [ { - "target": "nsis", - "arch": [ - "x64" - ] - } + target: "AppImage", + arch: ["arm64"], + }, + { + target: "tar.gz", + arch: ["arm64"], + }, ], - "artifactName": "${productName}-Windows-${version}-Setup.${ext}" + category: "Utility", + icon: "public/icon.png", }, - "nsis": { - "oneClick": false, - "perMachine": false, - "allowToChangeInstallationDirectory": true, - "deleteAppDataOnUninstall": false - }, - "linux": { - "target": [ - "AppImage" - ], - "artifactName": "${productName}-Linux-${version}.${ext}" - } }