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}" - } }