打包发布的修改
This commit is contained in:
parent
32c3d30844
commit
aac35e5428
|
|
@ -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: "com.yourcompany.edge-proxy-manager",
|
||||||
"appId": "YourAppID",
|
productName: "EdgeProxyManager",
|
||||||
"asar": true,
|
compression: "store",
|
||||||
"productName": "YourAppName",
|
files: ["dist-electron/main.js", "dist-electron/preload.mjs", "dist/**"],
|
||||||
"directories": {
|
|
||||||
"output": "release/${version}"
|
linux: {
|
||||||
},
|
target: [
|
||||||
"files": [
|
|
||||||
"dist",
|
|
||||||
"dist-electron"
|
|
||||||
],
|
|
||||||
"mac": {
|
|
||||||
"target": [
|
|
||||||
"dmg"
|
|
||||||
],
|
|
||||||
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
|
|
||||||
},
|
|
||||||
"win": {
|
|
||||||
"target": [
|
|
||||||
{
|
{
|
||||||
"target": "nsis",
|
target: "AppImage",
|
||||||
"arch": [
|
arch: ["arm64"],
|
||||||
"x64"
|
},
|
||||||
]
|
{
|
||||||
}
|
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}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue